1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bludit_ynh.git synced 2024-09-03 18:06:13 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-10-18 12:36:55 +02:00
parent d8191017f2
commit 355fb8d83f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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;