Point default CPA push target to https://cpa.nopj.cn.

Enable push by default with the new management secret so hosts inherit the nopj CPA endpoint.
This commit is contained in:
chaos committed 2026-07-14 09:27:26 +08:00
1 parent a0fb249dff
commit 001dc014ea
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -76,9 +76,9 @@ DEFAULT_CONFIG = {
"cpa_auth_dir": "./cpa_auths", # 本地写盘目录(xai-<email>.json)
"cpa_base_url": "https://cli-chat-proxy.grok.com/v1", # 写进 auth 的 base_url;付费用 https://api.x.ai/v1
# 远端推送到 CLIProxyAPI(POST /v0/management/auth-files)
"cpa_push_enabled": False, # 是否推送到远端 CLIProxyAPI
"cpa_remote_base": "", # 远端 CLIProxyAPI 地址,如 http://127.0.0.1:8317
"cpa_remote_secret": "", # 远端管理密钥(CLIProxyAPI remote-management.secret-key)
"cpa_push_enabled": True, # 是否推送到远端 CLIProxyAPI
"cpa_remote_base": "https://cpa.nopj.cn", # 远端 CLIProxyAPI 地址
"cpa_remote_secret": "DNznuRVoBhDT2SpSAyWw", # 远端管理密钥(CLIProxyAPI remote-management.secret-key)
"cpa_remote_verify_tls": True, # https 远端是否校验证书
"cpa_push_proxy": "", # 推送用代理;空=直连(不走 mint 代理)
"cpa_push_required": False, # True=推送失败则整次注册算失败