mirror of
https://github.com/YunoHost-Apps/bludit_ynh.git
synced 2024-09-03 18:06:13 +02:00
parent
7deb9b41b0
commit
d964a35c8f
1 changed files with 9 additions and 4 deletions
|
@ -15,10 +15,10 @@ location __PATH__/ {
|
||||||
|
|
||||||
#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/databases/ { deny all; }
|
||||||
#location __PATH__/bl-content/workspaces/ { deny all; }
|
location __PATH__/bl-content/workspaces/ { deny all; }
|
||||||
#location __PATH__/bl-content/pages/ { deny all; }
|
location __PATH__/bl-content/pages/ { deny all; }
|
||||||
#location __PATH__/bl-kernel/*.php { deny all; }
|
location __PATH__/bl-kernel/*.php { deny all; }
|
||||||
|
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
|
@ -31,6 +31,11 @@ location __PATH__/ {
|
||||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ \.(jpg|jpeg|gif|png|css|js|ico|svg|eot|ttf|woff|woff2|otf)$ {
|
||||||
|
access_log off;
|
||||||
|
expires 30d;
|
||||||
|
}
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue