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