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 28, 2024
1 parent 50fb86b commit a47804d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ server {
}

location /zh {
rewrite ^/zh(/.*)$ $1 redirect;
rewrite ^/zh(/.*)$ https://$host$1 redirect;
}

location = 50x.html {
root /usr/share/nginx/html;
}
}
}

0 comments on commit a47804d

Please sign in to comment.