1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rustdesk-server_ynh.git synced 2024-09-03 20:16:24 +02:00
This commit is contained in:
Éric Gaspar 2023-11-01 11:32:20 +01:00
parent eee1ef1be8
commit 7120d534a6
3 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
proxy_pass http://127.0.0.1:__PORT_HBBS__/;
proxy_pass http://127.0.0.1:__PORT_HBBS__;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}

View file

View file

@ -8,7 +8,7 @@ Group=__APP__
Restart=always
LimitNOFILE=1000000
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/hbbs -r 127.0.0.1 -p __PORT_HBBS__
ExecStart=__INSTALL_DIR__/hbbs -r __PUBLIC_IP4__ -p __PORT_HBBS__
StandardOutput=append:/var/log/__APP__/hbbs.log
StandardError=append:/var/log/__APP__/hbbs.error
RestartSec=10