mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
add subdomain configuration; add conn auth timeout
This commit is contained in:
@@ -40,6 +40,8 @@ pool_count = 20
|
||||
# if not set, you can access this custom_domains without certification
|
||||
http_username = admin
|
||||
http_password = admin
|
||||
# if domain for frps is frps.com, then you can access [web01] proxy by URL http://test.frps.com
|
||||
subdomain = test
|
||||
|
||||
[web02]
|
||||
type = http
|
||||
@@ -64,3 +66,4 @@ local_port = 80
|
||||
use_gzip = true
|
||||
custom_domains = web03.yourdomain.com
|
||||
host_header_rewrite = example.com
|
||||
subdomain = dev
|
||||
|
@@ -26,6 +26,10 @@ privilege_token = 12345678
|
||||
privilege_allow_ports = 2000-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
|
||||
# conn_timeout set the timeout interval (seconds) when the frpc connects frps
|
||||
conn_timeout = 10
|
||||
# domain for frps
|
||||
domain = codermao.com
|
||||
|
||||
# ssh is the proxy name, client will use this name and auth_token to connect to server
|
||||
[ssh]
|
||||
|
Reference in New Issue
Block a user