优化测试部署和页面展示细节
This commit is contained in:
@@ -20,6 +20,21 @@ server {
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location ^~ /hotel-staff-h5/assets/ {
|
||||
rewrite ^/hotel-staff-h5/(.*)$ /$1 break;
|
||||
expires 30d;
|
||||
add_header Cache-Control "public, immutable";
|
||||
try_files $uri =404;
|
||||
}
|
||||
|
||||
location = /hotel-staff-h5 {
|
||||
return 301 /hotel-staff-h5/;
|
||||
}
|
||||
|
||||
location ^~ /hotel-staff-h5/ {
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location /auth/ {
|
||||
proxy_pass ${BACKEND_GATEWAY}/auth/;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
Reference in New Issue
Block a user