Increase capacity of proxy buffers in nginx config
This commit is contained in:
parent
fe5f006451
commit
cd93b73886
@ -45,6 +45,9 @@ server {
|
||||
{% if server.proxy_pass is defined %}
|
||||
# Singular proxy_pass
|
||||
location / {
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 256k;
|
||||
proxy_busy_buffers_size 256k;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
@ -54,6 +57,9 @@ server {
|
||||
# Proxy locations
|
||||
{% for proxy in server.proxies %}
|
||||
location {{ proxy.location }} {
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 256k;
|
||||
proxy_busy_buffers_size 256k;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
Loading…
Reference in New Issue
Block a user