default configuration nginx index.php code example
Example: nginx opens index.php
location / {
index index.php index.html index.htm;
try_files $uri $uri/ =404;
}
location / {
index index.php index.html index.htm;
try_files $uri $uri/ =404;
}