<HTML><BODY>But, I want use both redirect and save response with 'X-Accel-Redirect' in cache to prevent multiple requests to backend.<br><br>NIck<br><br>Четверг, 28 февраля 2013, 20:35 +04:00 от Maxim Dounin <mdounin@mdounin.ru>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;" class="mailru-blockquote">
<div id=""><div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div id="style_13620693670000000424" class="mr_read__body">
<base target="_self" href="https://e.mail.ru/cgi-bin/">
<div id="style_13620693670000000424_BODY">Hello!<br><br>On Thu, Feb 28, 2013 at 03:50:19PM +0400, Nick wrote:<br><br>> Hello.<br>> Can you please tell how to enable caching of responses with 'X-Accel-Redirect' headers.<br>> Nick.<br><br>You may do so by using<br><br> proxy_ignore_headers X-Accel-Redirect;<br><br>This will prevent nginx from doing a redirect based on <br>X-Accel-Redirect though.<br><br>See <a href="http://nginx.org/r/proxy_ignore_headers" target="_blank">http://nginx.org/r/proxy_ignore_headers</a> for details.<br><br>-- <br>Maxim Dounin<br><a href="http://nginx.org/en/donation.html" target="_blank">http://nginx.org/en/donation.html</a><br><br>_______________________________________________<br>nginx mailing list<br><a href="sentmsg?compose&To=nginx@nginx.org">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></div>
<base target="_self" href="https://e.mail.ru/cgi-bin/">
</div>
</div>
</div>
</blockquote>
<br></BODY></HTML>