1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00
This commit is contained in:
ericgaspar 2021-07-08 11:46:15 +02:00
parent e56772cdfc
commit 6386a256b8
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ location / {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT__/;
proxy_pass http://127.0.0.1:__PORT__;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

View file

@ -7,7 +7,7 @@ After=network-online.target
Type=simple
User=__APP__
Group=__APP__
ExecStart=__FINALPATH__/dispatch
ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__
Restart=on-failure
RestartSec=5
StartLimitInterval=60s