agent: default sing-box stats API port 10086 -> 10089
Avoids the v2ray_api listen colliding with L-UI's fixed 10086 on dual-homed nodes. NG_SINGBOX_API_PORT env still overrides. Aligns the stats-query --server default and the doctor script fallback to the same value. Agent version stays 0.6.8.
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func loadConfig() config {
|
||||
KeyFile: envOr("NG_KEY_FILE", "/etc/nexusgate/keys.json"),
|
||||
SessionTokenFile: envOr("NG_SESSION_TOKEN_FILE", root+"/session-token.json"),
|
||||
TLSDir: envOr("NG_TLS_DIR", "/etc/nexusgate/tls"),
|
||||
APIPort: envOr("NG_SINGBOX_API_PORT", "10086"),
|
||||
APIPort: envOr("NG_SINGBOX_API_PORT", "10089"),
|
||||
PollMS: int64(pollSec * 1000),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user