mirror of
https://github.com/YunoHost-Apps/selfoss_ynh.git
synced 2024-09-03 20:16:21 +02:00
Update nginx.conf
This commit is contained in:
parent
2e3e0acc91
commit
2cb317b33a
1 changed files with 7 additions and 3 deletions
|
@ -19,9 +19,13 @@ location __PATH__/ {
|
|||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
}
|
||||
|
||||
#location ~ ^__PATH__/((favicons|thumbnails)/.+)$ {
|
||||
# try_files __PATH__/data/$1 =404;
|
||||
#}
|
||||
location ~ ^/(favicons|thumbnails)/.*$ {
|
||||
try_files $uri /data/$uri;
|
||||
}
|
||||
|
||||
location ~* ^/(data\/logs|data\/sqlite|config\.ini|\.ht) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
|
|
Loading…
Reference in a new issue