diff --git a/nginx.conf b/nginx.conf index 025e961..20eb3cd 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,6 +8,13 @@ server { try_files $uri $uri/ /index.html; } + location /zh { + rewrite ^/zh(/.*)$ $1 break; + root /usr/share/nginx/html; + index index.html; + try_files $uri $uri/ /index.html; + } + location = 50x.html { root /usr/share/nginx/html; }