mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-02-28 09:03:11 +08:00
added ENV forcing only encrypted connections
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#!/command/execlineb -P
|
||||
posix-cd /data
|
||||
/usr/bin/hbbs -r $RELAY
|
||||
#!/command/with-contenv sh
|
||||
cd /data
|
||||
PARAMS=
|
||||
[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k _"
|
||||
/usr/bin/hbbs -r $RELAY $PARAMS
|
||||
|
||||
Reference in New Issue
Block a user