client_max_body_size 30m;
# HTTP 1.1 support
proxy_http_version 1.1;
proxy_buffering on;
proxy_buffer_size   128k;
proxy_buffers   4 256k;
proxy_busy_buffers_size   256k;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $proxy_connection;


# Mitigate httproxy attack (see README for details)
proxy_set_header Proxy "";
server_tokens off;
