fix: move /h5

This commit is contained in:
luo
2026-08-24 10:12:43 +08:00
parent 518d937e5c
commit 65d4c7bcf8
3 changed files with 4 additions and 13 deletions

View File

@@ -27,16 +27,8 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
location /h5/ {
try_files $uri $uri/ /h5/index.html;
}
location = /h5 {
return 301 /h5/;
}
location = / {
return 301 /h5/;
location / {
try_files $uri $uri/ /index.html;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2|ttf|eot)$ {