WMS_MAIN/frpc.toml

18 lines
706 B
TOML
Raw Permalink 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.

# frpc 客户端配置(frp v0.70.1,复用本机 printServer 的 frpc.exe;生产 frps 为 v0.61.1)
# 用途:将本地 WMS 开发服务(http://127.0.0.1:6060)通过生产环境 frps
# 暴露为 http://test.wms.o.gztbyc.com(frps subDomainHost=o.gztbyc.com)。
# 启动:npm run frpc:start(首次自动从 D:\printServer 复制 frpc.exe 到 script/frp/)
serverAddr = "112.124.21.102"
serverPort = 6005
auth.token = "frpPrintToken2024"
# 测试域名:test_wms.o.gztbyc.com
# (subdomain + 生产 frps 的 subDomainHost 泛域名拼接,经 vhostHTTPPort 18080 对外)
[[proxies]]
name = "wms-test"
type = "http"
localIP = "127.0.0.1"
localPort = 6060
subdomain = "test_wms"