Add VPN admin tab with subscription proxy via cp-vpn for selected sources.
Persist settings in CA, expose /admin/vpn and /internal/vpn, and route Telegram (and optional web/nlp) traffic through mihomo SOCKS when enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+4
-1
@@ -3,10 +3,13 @@ TELEGRAM_API_ID=12345678
|
||||
TELEGRAM_API_HASH=your_api_hash_here
|
||||
TELEGRAM_SESSION_PATH=/data/telegram.session
|
||||
|
||||
# Optional Telegram proxy
|
||||
# Optional Telegram proxy fallback (when VPN tab is off)
|
||||
# Prefer Admin UI → VPN (subscription / socks5 / http).
|
||||
# TELEGRAM_PROXY_TYPE=socks5
|
||||
# TELEGRAM_PROXY_HOST=127.0.0.1
|
||||
# TELEGRAM_PROXY_PORT=1080
|
||||
# TELEGRAM_PROXY_USER=
|
||||
# TELEGRAM_PROXY_PASS=
|
||||
|
||||
# Platform internals
|
||||
INTERNAL_TOKEN=dev-internal-token
|
||||
|
||||
Reference in New Issue
Block a user