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