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;