Welcome! Log In Create A New Profile

Advanced

Re: proxy_ignore_headers doesn't seem to work

Francis Daly
January 04, 2012 06:14PM
On Wed, Jan 04, 2012 at 10:26:05PM +0000, Francis Daly wrote:
> On Wed, Jan 04, 2012 at 03:12:10PM -0500, piotr wrote:

Hi there,

One more thing on the final "600s"...

> > Also, file is stored on disk for 600s,
> > after this time i can see in logs that nginx is downloading again file
> > from upstream server. Nginx should cache files for 600h in current
> > config, but i've also tried before other values, like 6h or 6d etc.
>
> That observation, I don't understand.

You don't specify "inactive" in your proxy_cache_path directive, so it
defaults to 10 minutes.

If you see one new request per url every 11 minutes, then it is expected
that nginx will re-fetch from upstream each time.

If you see a new request every 9 minutes, then nginx should not need to
re-fetch from upstream.

Does that explain what you see?

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_ignore_headers doesn't seem to work

piotr December 14, 2011 11:34AM

Re: proxy_ignore_headers doesn't seem to work

Maxim Dounin December 14, 2011 12:10PM

Re: proxy_ignore_headers doesn't seem to work

piotr December 16, 2011 09:11AM

Re: proxy_ignore_headers doesn't seem to work

Maxim Dounin December 18, 2011 06:18AM

Re: proxy_ignore_headers doesn't seem to work

piotr January 04, 2012 03:12PM

Re: proxy_ignore_headers doesn't seem to work

Francis Daly January 04, 2012 05:28PM

Re: proxy_ignore_headers doesn't seem to work

Francis Daly January 04, 2012 06:14PM

Re: proxy_ignore_headers doesn't seem to work

Maxim Dounin January 04, 2012 10:20PM

Re: proxy_ignore_headers doesn't seem to work

piotr January 09, 2012 01:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready