From 49caa02cb180f1785c6c1d29baf2182bc80c71ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Sep 2023 13:32:35 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 8a01591..f58c126 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,8 +1,9 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; -root __FINALPATH__/public/ ; - location __PATH__/ { + # Path to source + alias __FINALPATH__/public/; + index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file