frps.ini 859 B

1234567891011121314151617181920212223242526272829303132
  1. # [common] is integral section
  2. [common]
  3. bind_addr = 0.0.0.0
  4. bind_port = 7000
  5. # if you want to support virtual host, you must set the http port for listening (optional)
  6. vhost_http_port = 80
  7. vhost_https_port = 443
  8. # if you want to configure or reload frps by dashboard, dashboard_port must be set
  9. dashboard_port = 7500
  10. # console or real logFile path like ./frps.log
  11. log_file = ./frps.log
  12. # debug, info, warn, error
  13. log_level = info
  14. log_max_days = 3
  15. # ssh is the proxy name, client will use this name and auth_token to connect to server
  16. [ssh]
  17. type = tcp
  18. auth_token = 123
  19. bind_addr = 0.0.0.0
  20. listen_port = 6000
  21. [web01]
  22. type = https
  23. auth_token = 123
  24. # if proxy type equals http, custom_domains must be set separated by commas
  25. custom_domains = web01.yourdomain.com,web01.yourdomain2.com
  26. [web02]
  27. type = http
  28. auth_token = 123
  29. custom_domains = web02.yourdomain.com