diff options
Diffstat (limited to 'docs/docker/caddy.conf')
-rw-r--r-- | docs/docker/caddy.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/docker/caddy.conf b/docs/docker/caddy.conf index d1b66ce850..6e90e41d6b 100644 --- a/docs/docker/caddy.conf +++ b/docs/docker/caddy.conf @@ -1,7 +1,7 @@ :80 { root /srv/www - locale en-US zh-CN zh-TW pt-BR nl-NL { + locale en-US zh-CN zh-TW pt-BR nl-NL fr-FR { detect header } @@ -35,5 +35,10 @@ to /nl-nl/{1} } + rewrite /fr-FR/ { + regexp (.*) + to /fr-fr/{1} + } + header / Vary "Accept-Language" } |