Questions about proxy_pass and internal directives

mrtn nginx-forum at
Thu Oct 18 19:54:43 UTC 2012

A correction to my earlier post: the request in my first question above
should be for "", and there is a
corresponding file on the filesystem:

Just tried something different, with this config:

root /home/www/mysite/static;

location /foo/bar/ {
                proxy_pass    ;
                proxy_redirect          off;

request to "" will return 404, and I can see that the
request does not even get proxied to the application server. In addition,
this access is not logged in error log but in the access log of nginx.
However, request to "" is served fine,
despite of using "internal" directive.

Posted at Nginx Forum:,231998,231999#msg-231999

More information about the nginx mailing list