chore(nginx): increase client_max_body_size to 200M and set 300s timeouts

This commit is contained in:
2026-10-06 11:15:54 +03:00
parent 2a84b5bcb0
commit 46d6973365
+6 -1
View File
@@ -2,7 +2,8 @@ server {
listen 80;
server_name study.qpid.pro;
client_max_body_size 100M;
client_max_body_size 200M;
client_body_timeout 300s;
location / {
proxy_pass http://127.0.0.1:8002;
@@ -13,5 +14,9 @@ server {
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_connect_timeout 300s;
proxy_send_timeout 300s;
proxy_read_timeout 300s;
}
}