Files
effekt-interface-frontend/nginx.conf
qiaoxinjiu f05cf53b85 chore(nginx): 提高上传请求体大小上限至 100m
支持文档等大文件上传场景。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-18 11:28:55 +08:00

22 lines
491 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
client_max_body_size 100m;
root /usr/share/nginx/html;
index index.html;
location /it/api/ {
proxy_pass http://172.18.0.1:5010;
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;
}
location / {
try_files $uri $uri/ /index.html;
}
}