frpc.toml 634 B

1234567891011121314151617181920212223242526272829303132333435
  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 = "xiaoding_htts2http"
  17. type = "https"
  18. customDomains = [
  19. "msj.xiaodingyun.cn",
  20. "msjadmin.xiaodingyun.cn",
  21. # 往下面增加你的域名即可
  22. ]
  23. [proxies.plugin]
  24. type = "https2http"
  25. localAddr = "127.0.0.1:80"
  26. # HTTPS 证书相关的配置
  27. crtPath = "/root/frp/cert.pem"
  28. keyPath = "/root/frp/key.pem"
  29. #hostHeaderRewrite = "127.0.0.1"
  30. requestHeaders.set.x-from-where = "frp"