summaryrefslogtreecommitdiffstats
path: root/docs/docker
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@users.noreply.github.com>2017-11-30 07:45:48 -0500
committerLunny Xiao <xiaolunwen@gmail.com>2017-11-30 20:45:48 +0800
commit474dfcc798b4d2d1a0d83f5cf69c6e129fc3a5c5 (patch)
tree0928c135f555b960afaad5a58a1f63a3c60703a2 /docs/docker
parentd517b56682483466c2824052b70d2ea8a12ac223 (diff)
downloadgitea-474dfcc798b4d2d1a0d83f5cf69c6e129fc3a5c5.tar.gz
gitea-474dfcc798b4d2d1a0d83f5cf69c6e129fc3a5c5.zip
French translation for docs (#3030)
original PR go-gitea/docs#147 and author @0xbaadf00d
Diffstat (limited to 'docs/docker')
-rw-r--r--docs/docker/caddy.conf7
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"
}