提供独立路径的国内PDA测试H5部署

This commit is contained in:
2026-09-29 20:57:38 +08:00
parent 68357a4766
commit a031a37c77
10 changed files with 179 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
server {
listen 80;
server_name _;
root /srv/pda-h5;
location = /healthz {
default_type text/plain;
add_header Cache-Control "no-store" always;
return 200 "ok\n";
}
location = /pda-domestic { return 302 /pda-domestic/; }
location ^~ /pda-domestic/ {
index index.html;
try_files $uri $uri/ =404;
add_header Cache-Control "no-store" always;
}
location / { return 404; }
}