Cache revalidate modified timezone mismatch
thijskoerselman at gmail.com
Wed May 7 15:06:20 UTC 2014
I'm using version 1.5.12 btw.
On Wed, May 7, 2014 at 4:51 PM, Thijs Koerselman
<thijskoerselman at gmail.com>wrote:
> I have a backend returning a last modified header in CEST.
> I'm using a 1sec proxy that revalidates as described here:
> 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 :(
> I tried to do something like set TZ and then start nginx, but this doesn't
> seem to make a difference.
> export TZ="Europe/Amsterdam"
> sudo nginx
> What's going on and how can I fix this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx