Can anyone help me find a way to set the Agent header for accessing the upstream server when using a proxy_cache setup.by TheBritishGeek - Nginx Mailing List - English
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: "proxy_cache_bypass" directive is not allowed hereby TheBritishGeek - Nginx Mailing List - English
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|xsf|ps|pdf|bmp)$ { expires 1M; add_header X-Cache-Status $upstream_cache_by TheBritishGeek - Nginx Mailing List - English
Thanks for help on this, I decided to just go ahead and compile this ourselves as as we really need the GoIP features.by TheBritishGeek - Nginx Mailing List - English
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 own install and break the simple apt-get upgrade path in the future if we have a choice. Any advicby TheBritishGeek - Nginx Mailing List - English