From 355fb8d83f3468992b3ec97116ed1e318e31f29b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 18 Oct 2020 12:36:55 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6c1a65d..7a947c5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,16 +11,16 @@ location __PATH__/ { index index.php; - if (!-e $request_filename) { rewrite ^ __PATH__/index.php last; } + #if (!-e $request_filename) { rewrite ^ /bludit/index.php last; } - #try_files $uri $uri/ /bludit//bludit/index.php?$args; + try_files $uri $uri/ /bludit//bludit/index.php?$args; location __PATH__/bl-content/databases/ { deny all; } location __PATH__/bl-content/workspaces/ { deny all; } location __PATH__/bl-content/pages/ { deny all; } location __PATH__/bl-kernel/*.php { deny all; } - try_files $uri $uri/ index.php; + #try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock;