Welcome! Log In Create A New Profile

Advanced

Disabling cache on remote_addr

January 25, 2010 08:40AM
Hi,
I'm using this stanza to configure caching on jpeg|css|gif files:

location ~ \.(gif|jpg|png|css)$ {
proxy_pass http://1_2_4_backend;
proxy_cache STANZA00;
proxy_cache_valid 200 10m;
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
}

But I have to disable caching depending on remote_addr.

How could I accomplish this?

Thanks in advance,
d.




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

Disabling cache on remote_addr

davide.damico January 25, 2010 08:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 257
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