refactor(用户管理): 优化用户列表查询和备注字段处理 feat(估值): 评估报告和证书URL改为数组类型并添加下载地址 docs: 添加交易管理与用户备注功能增强实施计划 fix(邮件): 修复邮件发送接口的多附件支持问题 style: 清理注释代码和格式化文件
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
location = /docs {
|
|
proxy_pass http://127.0.0.1:9999/docs;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
location = /redoc {
|
|
proxy_pass http://127.0.0.1:9999/redoc;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
location = /openapi.json {
|
|
proxy_pass http://127.0.0.1:9999/openapi.json;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
location / {
|
|
root /opt/vue-fastapi-admin/web/dist;
|
|
index index.html index.htm;
|
|
try_files $uri /index.html;
|
|
}
|
|
# PC 前端(/pc/ 前缀)
|
|
location = /pc {
|
|
return 302 /pc/;
|
|
}
|
|
location ^~ /pc/ {
|
|
alias /opt/vue-fastapi-admin/web1/dist/;
|
|
index index.html;
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
location ^~ /api/ {
|
|
proxy_pass http://127.0.0.1:9999;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
} |