Welcome! Log In Create A New Profile

Advanced

Re: Cache revalidate modified timezone mismatch

Thijs Koerselman
May 07, 2014 11:08AM
I'm using version 1.5.12 btw.


On Wed, May 7, 2014 at 4:51 PM, Thijs Koerselman
<thijskoerselman@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:
> 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
Subject Author Posted

Cache revalidate modified timezone mismatch

Thijs Koerselman May 07, 2014 10:52AM

Re: Cache revalidate modified timezone mismatch

Thijs Koerselman May 07, 2014 11:08AM

Re: Cache revalidate modified timezone mismatch

Jonathan Matthews May 07, 2014 11:36AM

Re: Cache revalidate modified timezone mismatch

Thijs Koerselman May 07, 2014 04:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready