Re: Cache revalidate modified timezone mismatch

2014-05-07 Thread Thijs Koerselman
Aha good to know! I'm not responsible for this backend, so I'll harass my colleague about it :) Thanks. Thijs On Wed, May 7, 2014 at 5:34 PM, Jonathan Matthews wrote: > On 7 May 2014 15:51, Thijs Koerselman wrote: > > I have a backend returning a last modified header in CE

Re: Cache revalidate modified timezone mismatch

2014-05-07 Thread Thijs Koerselman
I'm using version 1.5.12 btw. On Wed, May 7, 2014 at 4:51 PM, Thijs Koerselman 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-ng

Cache revalidate modified timezone mismatch

2014-05-07 Thread Thijs Koerselman
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.

Re: Deprecated warnings in 1.5.8 are now errors in 1.5.12

2014-04-08 Thread Thijs Koerselman
Thanks a lot Maxim, that explains everything. I used the flag and all went well. Cheers, Thijs On Tue, Apr 8, 2014 at 12:22 PM, Maxim Dounin wrote: > Hello! > > On Tue, Apr 08, 2014 at 11:43:58AM +0200, Thijs Koerselman wrote: > > > Hi, > > > > I'm trying

Deprecated warnings in 1.5.8 are now errors in 1.5.12

2014-04-08 Thread Thijs Koerselman
Hi, I'm trying to compile 1.5.12 on OSX. For some reason 1.5.12 generates errors in make where in 1.5.8 these same messages appeared as warnings and were ignored. I'm trying to build the nginx core without extra modules. Below is my configure output and the first errors that appear. Any idea how

Re: Using add_header at server level context

2013-10-07 Thread Thijs Koerselman
Thanks. So using add_header in the location scope omits any earlier add_header statements used in the parent scope. I am surprised that it works like that, but it's definitely good to know. On Mon, Sep 30, 2013 at 4:30 PM, Francis Daly wrote: > On Mon, Sep 30, 2013 at 03:42:50PM +020

Using add_header at server level context

2013-09-30 Thread Thijs Koerselman
>From the add_header docs I understand that it works at location, http and server context. But when I use add_header at the server level I don't see the headers being added to the response. For example my server config starts with: server { listen9088; server_name loca

Re: How to make proxy revalidate resource at origin

2013-09-27 Thread Thijs Koerselman
Aha, I'm hoping that will include If-None-Match, since I'm using etags instead of last modified dates. Is there maybe a 3rd party module that supports this already? On Fri, Sep 27, 2013 at 5:14 PM, Andrew Alexeev wrote: > On Sep 27, 2013, at 7:09 PM, Thijs Koerselman >

How to make proxy revalidate resource at origin

2013-09-27 Thread Thijs Koerselman
Hi, I posted this on stackoverflow already but I thought I might have more luck here :) http://stackoverflow.com/questions/19023777/how-to-make-proxy-revalidate-resource-from-origin In short, I can't find a way to make nginx revalidate a cached resource with the origin. Whenever nginx is in fron