Browse Source

Increase proxy buffers on nginx

feature/more-args
nicolas.dorier 6 years ago
parent
commit
1fd2cb2f40
No known key found for this signature in database GPG Key ID: 6618763EF09186FE
  1. 4
      Production/nginx.tmpl

4
Production/nginx.tmpl

@ -152,6 +152,10 @@ proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
proxy_set_header X-Forwarded-Ssl $proxy_x_forwarded_ssl;
proxy_set_header X-Forwarded-Port $proxy_x_forwarded_port;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
# Mitigate httpoxy attack (see README for details)
proxy_set_header Proxy "";
{{ end }}

Loading…
Cancel
Save