1
0
Fork 0
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:
ericgaspar 2022-03-22 12:20:37 +01:00
parent 2e3e0acc91
commit 2cb317b33a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -19,9 +19,13 @@ location __PATH__/ {
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;
} }
#location ~ ^__PATH__/((favicons|thumbnails)/.+)$ { location ~ ^/(favicons|thumbnails)/.*$ {
# try_files __PATH__/data/$1 =404; try_files $uri /data/$uri;
#} }
location ~* ^/(data\/logs|data\/sqlite|config\.ini|\.ht) {
deny all;
}
# Include SSOWAT user panel. # Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;