Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

Cache revalidate modified timezone mismatch (3 replies)

$
0
0
I have a backend returning a last modified header in CEST.

I'm using a 1sec proxy that revalidates as described here:
http://whitequark.org/blog/2014/04/05/page-caching-with-nginx/

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?

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

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>