Can anyone help me find a way to set the Agent header for accessing the
upstream server when using a proxy_cache setup.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,251534,251534#msg-251534
___
nginx mailing list
nginx@nginx.org
http://mail
I have tried
if ($remote_addr ~ "^(1.1.1.1|a:b:c:d::1:2)$")
{
proxy_cache_bypass $http_secret_header;
}
But is does not pass testing
nginx: [emerg] "proxy_cache_bypass" directive is not allowed here
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,2
I am looking for a way for allow that proxy_cache_bypass but only on a
secific hostname and client IP address.
My current setup is as follows:
location ~*
\.(gif|jpg|jpeg|png|wmv|avi|mpg|mpeg|mp4|wmv|js|css|mp3|swf|ico|flv|json|csv|txt|svg|ttf|eot|otf|cff|afm|lwfn|ffil|fon|pfm|pfb|woff|std|pro|xs
Thanks for help on this, I decided to just go ahead and compile this
ourselves as as we really need the GoIP features.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,250978,251123#msg-251123
___
nginx mailing list
nginx@nginx.org
http://mail
We have just started to work with Nginx and have installed by adding the
nginx repositry to our debian 7 installs. It works almost perfectly out of
the box as such. However we need to add GeoIP support, so the question is
what is the best method of doing this. I really don't want to compile our
ow