[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: cache key > 1049 characters results in 502
From:       James Beal via nginx <nginx () nginx ! org>
Date:       2018-08-24 15:37:54
Message-ID: c82dba9f-9cce-4e64-b58e-cded3aaaa3ee () getmailbird ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 24/08/2018 08:59:09, James Beal <james_@catbus.co.uk> 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 logg=
ed 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:=C2=A0

After applying strace the solution appears to be:

=C2=A0proxy_buffer_size =C2=A0 128k;
[Attachment #5 (text/html)]

<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: \
#000000">  
                                        
                                            
                                        
                                        
                                        <br><div class="mb_sig"></div>
                                        
                                        <blockquote class="history_container" \
type="cite" style="border-left-style: solid;border-width: 1px;margin-top: \
20px;margin-left: 0px;padding-left: 10px;min-width: 500px">  <p style="color: \
#AAAAAA; margin-top: 10px;">On 24/08/2018 08:59:09, James Beal \
&lt;james_@catbus.co.uk&gt; wrote:</p><div id="__MailbirdStyleContent" \
style="font-size: 10pt;font-family: Arial;color: #000000">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.<div \
class="mb_sig"></div><div><br></div><div>I can show the issue with these two curl \
examples ( which are not obviously valid searches \
)</div><div><br></div><div></div></div></blockquote><div><span style="font-size: \
10pt;font-family: Arial;color: #000000"><b><span style="color: #3B5998">James \
Beal:</span></b><span style="color: #3B5998">&nbsp;</span></span></div><div><span \
style="font-size: 10pt;font-family: Arial;color: #000000"><span style="color: \
#3B5998"><br></span></span></div><div><span style="font-size: 10pt;font-family: \
Arial;color: #000000"><span style="color: #3B5998">After applying strace the solution \
appears to be:</span></span></div><div><span style="font-size: 10pt;font-family: \
Arial;color: #000000"><span style="color: #3B5998"><br></span></span></div><div><span \
style="color: #3b5998">&nbsp;proxy_buffer_size &nbsp; 128k;</span></div></div>



_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic