This commit is contained in:
@@ -18,7 +18,11 @@ server {
|
||||
}
|
||||
|
||||
location /h5/ {
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri/ /h5/index.html;
|
||||
}
|
||||
|
||||
location = /h5 {
|
||||
return 301 /h5/;
|
||||
}
|
||||
|
||||
location = / {
|
||||
@@ -30,6 +34,4 @@ server {
|
||||
add_header Cache-Control "public, immutable";
|
||||
access_log off;
|
||||
}
|
||||
|
||||
error_page 404 /index.html;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user