From 7120d534a623eca4a38a33635fdb008a0d8e453f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:32:20 +0100 Subject: [PATCH] cleaning --- conf/nginx.conf | 2 +- conf/rustdesk.yml | 0 conf/rustdesksignal.service | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 conf/rustdesk.yml diff --git a/conf/nginx.conf b/conf/nginx.conf index 5326161..2667255 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; } \ No newline at end of file diff --git a/conf/rustdesk.yml b/conf/rustdesk.yml deleted file mode 100644 index e69de29..0000000 diff --git a/conf/rustdesksignal.service b/conf/rustdesksignal.service index 3d95241..3457d80 100644 --- a/conf/rustdesksignal.service +++ b/conf/rustdesksignal.service @@ -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