File uploads and client_max_body_size in nginx + gunicorn + django
- by carlosescri
I need to configure nginx + gunicorn to be able to upload files greater than the default max size in both servers.
My nginx .conf file looks like this:
server {
# ...
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
…