feat(交易记录): 新增交易记录管理页面与API接口 feat(上传): 添加统一上传接口支持自动识别文件类型 feat(用户管理): 为用户模型添加备注字段并更新相关接口 feat(邮件): 实现SMTP邮件发送功能并添加测试脚本 feat(短信): 增强短信服务配置灵活性与日志记录 fix(发票): 修复发票列表时间筛选功能 fix(nginx): 调整上传大小限制与超时配置 docs: 添加多个功能模块的说明文档 docs(估值): 补充估值计算流程与API提交数据说明 chore: 更新依赖与Docker镜像版本
30 lines
1019 B
Plaintext
30 lines
1019 B
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;
|
|
}
|
|
location ^~ /api/ {
|
|
proxy_pass http://127.0.0.1:9999;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
|
|
} |