<div dir="ltr">I'm using version 1.5.12 btw.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 7, 2014 at 4:51 PM, Thijs Koerselman <span dir="ltr"><<a href="mailto:thijskoerselman@gmail.com" target="_blank">thijskoerselman@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a backend returning a last modified header in CEST. <div><br></div><div>I'm using a 1sec proxy that revalidates as described here:</div>
<div><a href="http://whitequark.org/blog/2014/04/05/page-caching-with-nginx/" target="_blank">http://whitequark.org/blog/2014/04/05/page-caching-with-nginx/</a><br>
</div><div><br></div><div>My problem is that when nginx makes the request to the backend it changes CEST into GMT, without adjusting the time. Therefore the backend returns a 304 for 1sec + 1 hour, instead of 1sec :(</div>
<div><br></div><div>I tried to do something like set TZ and then start nginx, but this doesn't seem to make a difference.</div><div><br></div><div>export TZ="Europe/Amsterdam"<br></div><div>sudo nginx</div>
<div>
<br></div><div>What's going on and how can I fix this?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Thijs</div></font></span></div>
</blockquote></div><br></div>