diff --git a/conf/nginx.conf b/conf/nginx.conf index 758ae9e..0345df9 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,9 +9,9 @@ location __PATH__/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; - #proxy_http_version 1.1; - #proxy_set_header Upgrade $http_upgrade; - #proxy_set_header Connection "upgrade"; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/conf/systemd.service b/conf/systemd.service index ec84786..2df65bb 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/shiori serve --port __PORT__ --webroot __PATH__/ +ExecStart=__INSTALL_DIR__/shiori serve --port __PORT__ --webroot __PATH__ Restart=always Environment="SHIORI_DIR=__DATA_DIR__"