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