1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00
This commit is contained in:
ericgaspar 2021-07-02 22:22:22 +02:00
parent 1a487505de
commit 319144f435
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 6 additions and 6 deletions

View file

@ -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';
}

View file

@ -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