This commit is contained in:
riglen
2026-03-31 15:51:18 +08:00
parent e3cc26d4f6
commit 0d49398e2d
21 changed files with 1483 additions and 0 deletions

16
.env.example Normal file
View File

@@ -0,0 +1,16 @@
APP_NAME=sub-provider
APP_ENV=prod
HOST=0.0.0.0
PORT=18080
LOG_LEVEL=info
# 对外访问前缀,尽量改成足够长的随机字符串
PUBLIC_PATH=change-me-random-hash-path
# 如反代后域名不是容器本机可感知到的地址,建议显式填写
# 例如https://sub.example.com
PUBLIC_BASE_URL=
# 上游这里先放“能直接返回 Clash/Mihomo YAML proxies 文件”的地址
AIRPORT_A_URL=https://example.com/airport-a.yaml
AIRPORT_B_URL=https://example.com/airport-b.yaml