Hello again, OK i have fixed it.
On 11.10.2017 09:58, basti wrote: > 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 > _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx