Files
xk-hy-forward-go/.env.example
2026-05-22 08:42:27 +08:00

21 lines
831 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 监听地址(内网机,供外网 transit-go 访问)
LISTEN_ADDR=:16001
# 通道一:业务监管数据上报(28212)
SUPERVISE_TARGET_URL=https://59.202.52.129:28212/province/supervise/data
# 通道二:处方 PDF 文件上传(28211)
FILE_TARGET_URL=https://59.202.52.129:28211/mng/file/auth/upload
# 兼容旧配置:仅当未设置 SUPERVISE_TARGET_URL 时生效
# TARGET_URL=https://59.202.52.129:28212/province/supervise/data
# 逗号分隔允许来源 IP,空表示不限制(生产建议填 transit 外网机出口 IP,示例:192.168.1.20)
ALLOW_IPS=192.168.1.20
# 与 transit-go FORWARD_SHARED_SECRET 一致;非空时要求 Header X-Forward-Token
# FORWARD_SHARED_SECRET=change-me-in-production
# 应用日志根目录(默认 {程序目录}/../log/forward/)
# LOG_DIR=D:\worker\code\log