frpc.toml 773 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. serverAddr = "152.136.170.74"
  2. serverPort = 7000
  3. [[proxies]]
  4. name = "php-tcp-mysql"
  5. type = "tcp"
  6. localIP = "127.0.0.1"
  7. localPort = 3306
  8. remotePort = 3306
  9. [[proxies]]
  10. name = "php-tcp-redis"
  11. type = "tcp"
  12. localIP = "127.0.0.1"
  13. localPort = 6379
  14. remotePort = 6379
  15. [[proxies]]
  16. name = "phphttp80"
  17. type = "tcp"
  18. localIP = "127.0.0.1"
  19. localPort = 80
  20. remotePort = 80
  21. [[proxies]]
  22. name = "xiaoding_htts2http"
  23. type = "https"
  24. customDomains = [
  25. "msj.xiaodingyun.cn",
  26. "msjapp.xiaodingyun.cn",
  27. "msjadmin.xiaodingyun.cn"
  28. # 往下面增加你的域名即可
  29. ]
  30. [proxies.plugin]
  31. type = "https2http"
  32. localAddr = "127.0.0.1:80"
  33. # HTTPS 证书相关的配置
  34. crtPath = "/root/frp/cert.pem"
  35. keyPath = "/root/frp/key.pem"
  36. #hostHeaderRewrite = "127.0.0.1"
  37. requestHeaders.set.x-from-where = "frp"