chore(nginx): increase client_max_body_size to 200M and set 300s timeouts
This commit is contained in:
1 parent
2a84b5bcb0
commit
46d6973365
1 file changed
+6
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user