1
0
Fork 0
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:
eric_G 2023-10-08 10:54:23 +02:00 committed by GitHub
commit e51caa96f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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