<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">... or remove the 'Vary: Accept' header from the origin response?<br></div><div class="gmail_extra"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">It seems this header is wreaking havoc and is useless since it won't be cached... why keeping it?</div><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
<br><div class="gmail_quote">On Wed, Aug 19, 2015 at 7:42 PM, biazus <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I got it!<br>
<br>
The "issue" was the origin server sending "Vary: Accept" header. In order to<br>
avoid this behaviour, simply set "proxy_ignore_headers Vary;"<br>
<br>
Thanks!<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,261128,261131#msg-261131" rel="noreferrer" target="_blank">http://forum.nginx.org/read.php?2,261128,261131#msg-261131</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br></div></div>