Hi,

I've defined a location alias in my nginx.conf:

server {
        listen          80;
        server_name     example.org  www.example.org;
        [...]
        location        /foo/ {
                        alias /var/www/foo/;
        }
}


Even the directory /var/www/foo exists, Nginx is returns a 404. As I
understand, the configuration is right, but I can't see what's wrong.

Any ideas?



Ihsan

-- 
[email protected]        http://blog.dogan.ch/

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to