Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error upstream sent too big header while reading response heade… #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions nginx/files/proxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ server {
proxy_redirect off;
{%- endif %}

proxy_buffer_size 128k;
Copy link
Member

@fpytloun fpytloun Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this configurable and set these values only if set in metadata.
Otherwise these are just hard-coded random values.

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;
Expand Down