Maks
1
Hello,
How I can bypass Nginx FastCGI Cache for my IP?
I added IP but not working.
# Cache bypass
map $http_cookie $no_cache {
default 0;
~SESS 1;
~wordpress_logged_in 1;
~admin 1;
~10.10.0.0 1;
~123.12.1.1 1;
}
eris
2
Checks for cookie name not ip adress
Probally need tomato an other var with ip adress.
Maks
4
This option has worked for me:
if ($remote_addr ~* "70.80.30.8|12.35.09.1|10.10.0..*") {
set $no_cache 1;
}
1 Like
system
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.