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

Allow for large upstream response headers #348

Open
mdeuser opened this issue Jul 26, 2019 · 1 comment
Open

Allow for large upstream response headers #348

mdeuser opened this issue Jul 26, 2019 · 1 comment

Comments

@mdeuser
Copy link
Contributor

mdeuser commented Jul 26, 2019

Today, response headers >3KB result in a 502 response. Is issue is a request to bump the nginx configuration to allow for header sizes of up to 8KB.

@mhamann
Copy link
Member

mhamann commented Jul 29, 2019

Changing buffer sizes should be carefully considered, since it changes how much memory needs to be allocated for every request.

I'm a little wary of bumping this globally, since we'd be effectively doubling the amount of memory used in the current configuration.

On the other hand, perhaps 4k is a bit low for a decent number of production use cases and 8k would be more appropriate.

In any case, the configuration change would look like this:

proxy_buffer_size 8k;

@mhamann mhamann changed the title Allow for large request and response headers Allow for large upstream response headers Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants