open index.php by default nginx 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;
}