Questions about proxy_pass and internal directives

mrtn nginx-forum at nginx.us
Thu Oct 18 20:32:39 UTC 2012


Hello Valentin,

No, it is not.

I have a few other location blocks, but none of them should be matched to
"/foo/bar". For examples, i have:

location /foo/a/
location /foo/b/
location /foo/c/

also,

location ~* (\.jpg|\.png|\.css|\.js|\.html)$ {
                valid_referers none blocked www.mysite.com static.mysite.com
mysite.com;
                if ($invalid_referer) { return 405; }
}

Is there anything particular that will interfere with the "/foo/bar"
location block I should look for? Thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,231998,232001#msg-232001



More information about the nginx mailing list