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:
Éric Gaspar 2020-10-14 17:05:08 +02:00 committed by GitHub
parent f9ef789953
commit 5beb526f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,14 @@ location __PATH__/ {
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
#client_max_body_size 50M;
if (!-e $request_filename) { rewrite ^ /bludit/index.php last; }
# try_files $uri $uri/ /bludit//bludit/index.php?$args;
location ^~ /bludit/bl-content/databases/ { deny all; }
location ^~ /bludit/bl-content/workspaces/ { deny all; }
location ^~ /bludit/bl-content/pages/ { deny all; }
location ^~ /bludit/bl-kernel/*.php { deny all; }
try_files $uri $uri/ index.php;
location ~ [^/]\.php(/|$) {