This commit is contained in:
2025-11-10 00:59:40 +08:00
parent 78c46aed71
commit bac96fcbe6
76 changed files with 8726 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
server {
listen 8088;
server_name _;
root /usr/share/nginx/html;
index index.html;
# Vite SPA刷新/直达路由回退到 index.html
location / {
try_files $uri $uri/ /index.html;
}
# 如需在生产环境继续代理后端,可在此追加;示例:
# location /webApi/ {
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;
# proxy_pass http://8.155.172.147:9900/;
# }
}