cache key > 1049 characters results in 502

James Beal james_ at
Fri Aug 24 15:37:54 UTC 2018

On 24/08/2018 08:59:09, James Beal <james_ at> wrote:
We currently use caching for guests, our search pages use long urls to pass the parameters to our application. Currently searches that worked for logged in users don't work for guests.

I can show the issue with these two curl examples ( which are not obviously valid searches )

James Beal: 

After applying strace the solution appears to be:

 proxy_buffer_size   128k;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list