From df06d0a3fc479a125e7ab6626d1138eea09402ab Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 17 Apr 2022 23:24:43 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 0bc2c7d..8293184 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,14 +3,14 @@ location __PATH__/ { # Path to source alias __FINALPATH__/app/ ; + index index.php; + if (!-e $request_filename) { rewrite ^__PATH__/(.+)$ __PATH__/index.php?q=$1 last; } - index index.php; - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file #client_max_body_size 50M;