现在可以通过一个固定令牌来注册到主控🐔,无需再手动配置被控端的ip和端口号了,用 websocket 连接到主控 hub。

此功能比较适用于没有公网ip的机器、禁海外入站的iepl机器等。

需要注意 nginx 反代的需要加上支持 websocket,配置如下

proxy_http_version 1.1;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection "Upgrade";