From 808799353409a5f6275edc4106441cbfc8deeb51 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 8 Oct 2023 10:27:51 +0200 Subject: [PATCH] Prioritize index.php over index.html --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index e522e75..2b2c03f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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