Skip to content

Commit a47804d

Browse files
committed
Update nginx.conf
1 parent 50fb86b commit a47804d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nginx.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ server {
99
}
1010

1111
location /zh {
12-
rewrite ^/zh(/.*)$ $1 redirect;
12+
rewrite ^/zh(/.*)$ https://$host$1 redirect;
1313
}
1414

1515
location = 50x.html {
1616
root /usr/share/nginx/html;
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)