mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
cleaning
This commit is contained in:
parent
eee1ef1be8
commit
7120d534a6
3 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
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 Host $host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
}
|
}
|
|
@ -8,7 +8,7 @@ Group=__APP__
|
||||||
Restart=always
|
Restart=always
|
||||||
LimitNOFILE=1000000
|
LimitNOFILE=1000000
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
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
|
StandardOutput=append:/var/log/__APP__/hbbs.log
|
||||||
StandardError=append:/var/log/__APP__/hbbs.error
|
StandardError=append:/var/log/__APP__/hbbs.error
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
|
|
Loading…
Reference in a new issue