Skip to content

Commit

Permalink
Update nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Feudalman committed Nov 27, 2024
1 parent e9342cb commit 643ac84
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ server {
}

location /zh {
rewrite ^/zh(/.*)$ $1 break;
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html;
rewrite ^/zh(/.*)$ $1 redirect;
}

location = 50x.html {
Expand Down

0 comments on commit 643ac84

Please sign in to comment.