move client_max_body_size

This commit is contained in:
j 2019-08-19 22:28:35 +02:00
parent 65012d34ee
commit c5d481ee78

View file

@ -55,11 +55,11 @@ server {
proxy_buffering off; proxy_buffering off;
proxy_read_timeout 90; #should be in sync with gunicorn timeout proxy_read_timeout 90; #should be in sync with gunicorn timeout
proxy_connect_timeout 90; #should be in sync with gunicorn timeout proxy_connect_timeout 90; #should be in sync with gunicorn timeout
client_max_body_size 32m;
if (!-f $request_filename) { if (!-f $request_filename) {
proxy_pass http://127.0.0.1:2620; proxy_pass http://127.0.0.1:2620;
break; break;
} }
client_max_body_size 32m;
} }
error_page 400 /; error_page 400 /;