mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Prioritize index.php over index.html
This commit is contained in:
parent
9b8d318fb6
commit
8087993534
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ location __PATH__/ {
|
|||
alias __INSTALL_DIR__/www/;
|
||||
|
||||
# Default indexes and catch-all
|
||||
index index.html index.php;
|
||||
index index.php index.html;
|
||||
try_files $uri $uri/ __PATH__/index.php?$args =404;
|
||||
|
||||
# Prevent useless logs
|
||||
|
|
Loading…
Add table
Reference in a new issue