Hi,
According to
Module ngx_http_core_module,
for long uri or large cookie from browser, I can use
large_client_header_buffers .
For the large cookie from web server via Set-Cookie, how to set proxy
buffer?
Should I set proxy_buffer_size the same size as
large_client_header_buffers?
Or set the proxy_buffers the same as large_client_header_buffers?
For example, there is a 32k cookie
location / {
large_client_header_buffers 4 32k;
proxy_buffer_size 32k;
proxy_pass …
}
or
location / {
large_client_header_buffers 4 32k;
proxy_buffers 4 32k;
proxy_pass …
}
According to the WIKI, I prefer proxy_buffers directive.
BR,
DeltaY