Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Increase Nginx Proxy Buffer Size #585

Open
mikeschinkel opened this issue Aug 17, 2019 · 0 comments
Open

Increase Nginx Proxy Buffer Size #585

mikeschinkel opened this issue Aug 17, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@mikeschinkel
Copy link
Member

I am getting the following in the Nginx logs (because the WordPress site I am debugging for a client is generating tons of cookies):

"upstream sent too big header while reading response header from upstream"

The solution is here, e.g. To add the proxy_buffer_size configurations to the location block:

server {
  listen        80;
  server_name   host.tld;

  location / {
    proxy_pass       http://upstream;
    ...

    proxy_buffer_size          128k;
    proxy_buffers              4 256k;
    proxy_busy_buffers_size    256k;
  }
}
@mikeschinkel mikeschinkel added this to the ASAP milestone Aug 17, 2019
@mikeschinkel mikeschinkel added this to To Do in It Just Works! via automation Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
It Just Works!
  
To Do
Development

No branches or pull requests

2 participants