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:
parent
f9ef789953
commit
5beb526f69
1 changed files with 8 additions and 2 deletions
|
@ -11,8 +11,14 @@ location __PATH__/ {
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
if (!-e $request_filename) { rewrite ^ /bludit/index.php last; }
|
||||||
#client_max_body_size 50M;
|
|
||||||
|
# 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;
|
try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue