fix: remote agent exec url_path_prefix error

This commit is contained in:
engigu
2026-01-14 10:04:29 +08:00
parent b7641ab718
commit 36ffad9933
5 changed files with 52 additions and 15 deletions
+4
View File
@@ -1,6 +1,10 @@
[agent]
# 主服务器地址(http/httpsAgent 会自动转换为 WebSocket 连接)
# 如果主服务配置了url_prefix, 这里要也要加上路径
server_url = http://192.168.1.100:8052
# 比如 url_prefix=/baihu
; server_url = http://192.168.1.100:8052/baihu
# Agent 名称(留空则使用主机名)
name =
# 注册令牌(首次注册时填写,注册成功后会自动替换为认证 Token)