Questions about proxy_pass and internal directives

mrtn nginx-forum at
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/


location ~* (\.jpg|\.png|\.css|\.js|\.html)$ {
                valid_referers none blocked;
                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:,231998,232001#msg-232001

More information about the nginx mailing list