frpc.toml 910 B

12345678910111213141516171819202122232425262728293031323334
  1. serverAddr = "47.96.151.43"
  2. serverPort = 7000
  3. [[proxies]]
  4. name = "tcp-redis"
  5. type = "tcp"
  6. localIP = "127.0.0.1"
  7. localPort = 6379
  8. remotePort = 6379
  9. [[proxies]]
  10. name = "http80"
  11. type = "tcp"
  12. localIP = "127.0.0.1"
  13. localPort = 80
  14. remotePort = 80
  15. [[proxies]]
  16. name = "test_htts2http"
  17. type = "https"
  18. customDomains = ["xiaodingliu.niusenyun.com","xiaodingbackend.niusenyun.com","saasjing.niusenyun.com","massagejing.niusenyun.com","saasyin.niusenyun.com","mallyin.niusenyun.com","saas.niusenyun.com","saast.niusenyun.com","mall.niusenyun.com","mallt.niusenyun.com","massaget.niusenyun.com","massage.niusenyun.com","xdyin.niusenyun.com","xdjhyuser.niusenyun.com","xdt.niusenyun.com"]
  19. [proxies.plugin]
  20. type = "https2http"
  21. localAddr = "127.0.0.1:80"
  22. # HTTPS 证书相关的配置
  23. crtPath = "/root/frp/cert.pem"
  24. keyPath = "/root/frp/key.pem"
  25. #hostHeaderRewrite = "127.0.0.1"
  26. requestHeaders.set.x-from-where = "frp"