root works, alias doesn't
B.R.
reallfqq-nginx at yahoo.fr
Wed Sep 25 18:25:07 UTC 2013
Absolute vs Relative paths.
The log file line says it all: '/webalizer/index.html' doesn't exist, which
is not the path of the file you wanna serve...
Take a look at the following examples showing how 'location' address is
replaced or completed (depending on absolute or relative 'alias' directive)
by 'alias' path:
http://nginx.org/en/docs/http/ngx_http_core_module.html#alias
http://stackoverflow.com/questions/10084137/nginx-aliaslocation-directive
PEBCAD? ;o)
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130925/322ab304/attachment.html>
More information about the nginx
mailing list