This commit is contained in:
lxhao61 2016-12-20 00:45:50 +00:00 committed by GitHub
commit 6922b9385d

View File

@ -20,7 +20,7 @@ log_max_days = 3
privilege_mode = true
privilege_token = 12345678
# only allow frpc to bind ports you list, if you set nothing, there won't be any limit
privilege_allow_ports = 2000-3000,3001,3003,4000-50000
privilege_allow_ports = 80-3000,3001,3003,4000-50000
# pool_count in each proxy will change to max_pool_count if they exceed the maximum value
max_pool_count = 100
@ -31,12 +31,12 @@ auth_token = 123
bind_addr = 0.0.0.0
listen_port = 6000
[web01]
[web]
# if type equals http, vhost_http_port must be set
type = http
auth_token = 123
# if proxy type equals http, custom_domains must be set separated by commas
custom_domains = web01.yourdomain.com,web01.yourdomain2.com
custom_domains = web.frp.mc163.com
[web02]
# if type equals https, vhost_https_port must be set