wiki/content/20201116133627-different_hosts_per_locale.md

277 B

id title
b354b12a-af0e-45cd-9c7b-030ba412cb8d Different Hosts Per Locale

Syntax

# config/routes/annotations.yaml
controllers:
    resource: '../../src/Controller/'
    type: annotation
    host:
        fr: www.example.fr
        en: www.example.com