commit | 8151daeb740478e9986da91a71bda60199a8c267 | [log] [tgz] |
---|---|---|
author | Jiri Konecny <jiri.konecny@tcpcloud.eu> | Mon Oct 24 15:02:07 2016 +0200 |
committer | Jiri Konecny <jiri.konecny@tcpcloud.eu> | Mon Oct 24 15:02:07 2016 +0200 |
tree | f9d9f3b68147e288d8c7398c8f657fdff01654c7 | |
parent | 82b2dbeeacf1af95d5210adfa785778309ae28b7 [diff] |
Fixed error upstream sent too big header while reading response header from upstream
diff --git a/nginx/files/proxy.conf b/nginx/files/proxy.conf index c697f05..fca6c1e 100644 --- a/nginx/files/proxy.conf +++ b/nginx/files/proxy.conf
@@ -56,6 +56,10 @@ proxy_redirect off; {%- endif %} + proxy_buffer_size 128k; + proxy_buffers 4 256k; + proxy_busy_buffers_size 256k; + {%- if site.proxy.buffer is defined %} {%- set buffer_size = site.proxy.buffer.get('size', 16) * 2 %} proxy_buffering on;