优化测试部署和页面展示细节

This commit is contained in:
andy
2026-07-01 12:19:40 +08:00
parent 9e67339d3c
commit 5ac547a9d5
7 changed files with 143 additions and 23 deletions

View File

@@ -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;