Prioritize index.php over index.html

This commit is contained in:
tituspijean 2023-10-08 10:27:51 +02:00
parent 9b8d318fb6
commit 8087993534
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

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