Hi.
My config looks like this:
location / {
...
index index.php;
autoindex off;
}
...
location /autoindx_dir/ {
autoindex on;
}
location /autoindx_dir/not/ {
autoindex off;
}
also I have the php cgi options.
The problem is that nginx opens the index.php for my root directory if i open only the domain. If I go to the "autoindx_dir" directory I see the directory files like i want. But if I open "autoindex_dir/not" I see also the hole directory although i have a index.php.
Whats wrong ?