how to set the proxy buffer if web server return large cookie via	Set-Cookie
    Delta Yeh 
    delta.yeh at gmail.com
       
    Thu Nov  3 02:49:52 UTC 2011
    
    
  
Hi,
  According to http://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers,
  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
    
    
More information about the nginx
mailing list