Files

24 lines
684 B
TOML
Raw Permalink Normal View History

2026-08-02 14:18:15 +08:00
# ===== 监听 =====
bindAddr = "0.0.0.0"
bindPort = 7000 # frpc 连这台服的端口
kcpBindPort = 7000 # 可选,KCP 同端口
quicBindPort = 7002 # 可选,QUIC
# ===== HTTP/HTTPS 穿透收口(交给 Caddy 再反代)=====
vhostHTTPPort = 8080 # ⚠️ 别设 80,留给 Caddy
vhostHTTPSPort = 0 # 让 Caddy 管 HTTPS,这里关掉
# ===== 鉴权 =====
auth.method = "token"
auth.token = "sixsixgousite"
# ===== Dashboard =====
webServer.addr = "0.0.0.0"
webServer.port = 7500
webServer.user = "admin"
webServer.password = "CHANGE_ME_DASHBOARD_PWD"
# ===== 日志 =====
log.to = "/tmp/frps.log"
log.level = "info"
log.maxDays = 3