502 Error large requests Django Nginx Gunicorn

In Serverby oesahLeave a Comment

nginx.conf:

proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;

Gunicorn:

--limit-request-line 0 
--limit-request-fields 32768 
--limit-request-field_size 0
--timeout 300

Leave a Comment