123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- [common]
- server_addr = 0.0.0.0
- server_port = 7000
- log_file = ./frpc.log
- log_level = info
- log_max_days = 3
- privilege_token = 12345678
- pool_count = 5
- tcp_mux = true
- user = your_name
- login_fail_exit = true
- protocol = tcp
- [ssh]
- type = tcp
- local_ip = 127.0.0.1
- local_port = 22
- use_encryption = false
- use_compression = false
- remote_port = 6001
- [dns]
- type = udp
- local_ip = 114.114.114.114
- local_port = 53
- remote_port = 6002
- use_encryption = false
- use_compression = false
- [web01]
- type = http
- local_ip = 127.0.0.1
- local_port = 80
- use_encryption = false
- use_compression = true
- http_user = admin
- http_pwd = admin
- subdomain = web01
- custom_domains = web02.yourdomain.com
- locations = /,/pic
- host_header_rewrite = example.com
- [web02]
- type = https
- local_ip = 127.0.0.1
- local_port = 8000
- use_encryption = false
- use_compression = false
- subdomain = web01
- custom_domains = web02.yourdomain.com
- [plugin_unix_domain_socket]
- type = tcp
- remote_port = 6003
- plugin = unix_domain_socket
- plugin_unix_path = /var/run/docker.sock
- [plugin_http_proxy]
- type = tcp
- remote_port = 6004
- plugin = http_proxy
- plugin_http_user = abc
- plugin_http_passwd = abc
|