From 319144f4356788c5c31bb46852c0750ea697cd01 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 2 Jul 2021 22:22:22 +0200 Subject: [PATCH] Fix --- conf/nginx.conf | 8 ++++---- conf/systemd.service | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f8b2429..83f64f7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,10 +7,10 @@ location ^~ __PATH__/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-For $remote_addr; - # by default nginx times out connections in one minute + # by default NGINX times out connections in one minute proxy_read_timeout 1d; - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; - more_clear_input_headers 'Accept-Encoding'; + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; + more_clear_input_headers 'Accept-Encoding'; } diff --git a/conf/systemd.service b/conf/systemd.service index fc510d3..30563ad 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -10,8 +10,8 @@ WorkingDirectory=__FINALPATH__ Environment="PATH=__ENV_PATH__" #Environment="THELOUNGE_HOME=/home/yunohost.app/__APP__" Environment="NODE_ENV=production" -#ExecStart=/usr/bin/yarn start -ExecStart=THELOUNGE_HOME=/home/yunohost.app/__APP__ thelounge start +ExecStart=/usr/bin/yarn start -c port=__PORT__ +#ExecStart=THELOUNGE_HOME=/home/yunohost.app/__APP__ thelounge start -c port=__PORT__ -c public=true Restart=on-failure RestartSec=5 StartLimitInterval=60s