mirror of
https://github.com/YunoHost-Apps/airsonic_ynh.git
synced 2024-09-03 18:06:14 +02:00
Merge pull request #52 from massyas/patch-1
Fix last DSub releases not able to connect with LDAP
This commit is contained in:
commit
bfb1edce8a
1 changed files with 9 additions and 2 deletions
|
@ -17,7 +17,14 @@ location __PATH__/ {
|
||||||
# See https://github.com/YunoHost-Apps/airsonic_ynh/issues/4
|
# See https://github.com/YunoHost-Apps/airsonic_ynh/issues/4
|
||||||
client_max_body_size 500M;
|
client_max_body_size 500M;
|
||||||
|
|
||||||
|
# Fix last DSub releases not able to connect with LDAP
|
||||||
|
# See https://github.com/airsonic/airsonic/issues/260
|
||||||
|
sub_filter_types text/xml application/json;
|
||||||
|
sub_filter_once off;
|
||||||
|
sub_filter 'subsonic' 'madsonic';
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
# Removed since sub_filter_once directive is also used in this file
|
||||||
|
# include conf.d/yunohost_panel.conf.inc;
|
||||||
# proxy_set_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' www.gstatic.com; img-src 'self' *.akamaized.net; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; frame-src 'self'; object-src 'none'";
|
# proxy_set_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' www.gstatic.com; img-src 'self' *.akamaized.net; style-src 'self' 'unsafe-inline' fonts.googleapis.com; font-src 'self' fonts.gstatic.com; frame-src 'self'; object-src 'none'";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue