Hello,

i have a config look like

server {
   servername example.com
....

   location /foo {
        index index.php;
        proxy_pass ...
        ...
   }

root /some/path;
autoindex on;
...
}

I want Autoindex if url is
example.com/

and want to run index.php if url is example.com/foo but in this dir I
can also see all files.

Best Regards,
Basti
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to