diff --git a/conf/nginx.conf b/conf/nginx.conf index 6876018..650e167 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,8 +1,6 @@ -# source of config file: https://airsonic.github.io/docs/proxy/nginx/ -# adapted for YunoHost - #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { + proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_http_version 1.1; diff --git a/conf/systemd.service b/conf/systemd.service index e1107fc..c892694 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,6 +1,3 @@ -# source file https://raw.githubusercontent.com/airsonic/airsonic/master/contrib/airsonic.service -# install documentation : https://airsonic.github.io/docs/install/war-standalone/ - [Unit] Description=__APP__ Media Server After=remote-fs.target network.target