mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 15:45:39 +00:00
all: new feature connection pool
This commit is contained in:
@@ -22,6 +22,8 @@ local_port = 22
|
||||
use_encryption = true
|
||||
# default is false
|
||||
use_gzip = false
|
||||
# connections will be established in advance, default value is zero
|
||||
pool_count = 10
|
||||
|
||||
# Resolve your domain names to [server_addr] so you can use http://web01.yourdomain.com to browse web01 and http://web02.yourdomain.com to browse web02, the domains are set in frps.ini
|
||||
[web01]
|
||||
@@ -29,6 +31,7 @@ type = http
|
||||
local_ip = 127.0.0.1
|
||||
local_port = 80
|
||||
use_gzip = true
|
||||
pool_count = 20
|
||||
|
||||
[web02]
|
||||
type = http
|
||||
|
@@ -15,6 +15,8 @@ log_max_days = 3
|
||||
# if you enable privilege mode, frpc can create a proxy without pre-configure in frps when privilege_token is correct
|
||||
privilege_mode = true
|
||||
privilege_token = 12345678
|
||||
# pool_count in each proxy will change to max_pool_count if they exceed the maximum value
|
||||
max_pool_count = 100
|
||||
|
||||
# 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