From 1eb863d4d9219330fd7fdc97d00a2c3f2e284d8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 24 Nov 2023 16:04:31 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1aa912f..b18618e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,12 +7,12 @@ location __PATH__/ { index index.php; try_files $uri $uri/ index.php; - location __FINALPATH__/public {} - location __FINALPATH__/favicon.ico {} - rewrite ^(.*)$ __FINALPATH__/index.php last; + location __INSTALL_DIR__/public {} + location __INSTALL_DIR__/favicon.ico {} + rewrite ^(.*)$ __INSTALL_DIR__/index.php last; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 50M; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$;