wiki/content/20201116133627-different_hosts_per_locale.md

18 lines
294 B
Markdown
Raw Permalink Normal View History

2024-05-06 20:40:05 +00:00
---
2024-10-30 17:34:11 +00:00
date: 2020-11-16
2024-05-06 20:40:05 +00:00
id: b354b12a-af0e-45cd-9c7b-030ba412cb8d
title: Different Hosts Per Locale
---
# Syntax
``` yaml
# config/routes/annotations.yaml
controllers:
resource: '../../src/Controller/'
type: annotation
host:
fr: www.example.fr
en: www.example.com
```