nginx: set proxy_buffer_size to 6MB
Because tags are included in our sessions, pushes containing many tags will make our headers larger than the buffer nginx uses to send to the client and then nginx is unable to validate the headers.
This commit is contained in:
parent
c081b1fa86
commit
3abb5bf0a3
2 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ proxy_set_header X-Forwarded-For $proxy_protocol_addr;
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
proxy_buffer_size 6m;
|
||||
|
||||
proxy_set_header Transfer-Encoding $http_transfer_encoding;
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_redirect off;
|
||||
proxy_buffer_size 6m;
|
||||
|
||||
proxy_set_header Transfer-Encoding $http_transfer_encoding;
|
||||
|
||||
|
|
Reference in a new issue