cmvr-wms/scripts/deploy/nginx-staging.conf
lixiaolong 5bdeceafd7 feat(auth): 添加认证cookie名称配置并优化表单布局
- 在 .env.production 中新增 VITE_AUTH_COOKIE_NAME 配置项用于设置认证cookie名称
- 将 AcceptanceException.vue 中的表单标签宽度从固定90px改为自动适配
- 在 ActionDialog.vue 中将多个表单项标记为必填项并调整标签宽度为自动适配
- 重构 ActionHistory.vue 中的按钮布局结构并添加表格列样式类名
- 更新 api-contract-audit.cjs 添加生产任务和BOM相关接口的契约测试
- 修改 auth.js 使用动态认证cookie键名替换硬编码的Admin-Token
- 调整系统角色授权用户页面的表单布局和表格样式类名
- 优化 ReceiptDialog Batch 组件的对话框尺寸、表单验证和分页功能
2026-10-15 11:30:55 +08:00

32 lines
983 B
Plaintext

# Temporary acceptance ports; change to 80 / 8182 only during the reviewed cutover.
server {
listen 28181;
server_name 192.168.28.10;
root /usr/share/nginx/html;
index index.html;
client_max_body_size 60m;
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-store" always;
}
location ^~ /static/ {
try_files $uri =404;
add_header Cache-Control "public, max-age=31536000, immutable" always;
}
location /prod-api/ {
proxy_pass http://127.0.0.1:28183/;
proxy_http_version 1.1;
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_set_header Connection "";
proxy_connect_timeout 10s;
proxy_read_timeout 120s;
proxy_buffering off;
}
location ~ /\. {
deny all;
}
}