mirror of
https://github.com/fatedier/frp.git
synced 2026-05-21 06:45:32 -06:00
allow to disable application layer heartbeat to reduce traffic cost (#2758)
fix #2754
This commit is contained in:
parent
4bfc89d988
commit
293003fcdb
11 changed files with 228 additions and 146 deletions
|
|
@ -61,6 +61,9 @@ pool_count = 5
|
|||
|
||||
# if tcp stream multiplexing is used, default is true, it must be same with frps
|
||||
tcp_mux = true
|
||||
# specify keep alive interval for tcp mux.
|
||||
# only valid if tcp_mux is true.
|
||||
# tcp_mux_keepalive_interval = 60
|
||||
|
||||
# your proxy name will be changed to {user}.{proxy}
|
||||
user = your_name
|
||||
|
|
@ -89,7 +92,8 @@ tls_enable = true
|
|||
# start = ssh,dns
|
||||
|
||||
# heartbeat configure, it's not recommended to modify the default value
|
||||
# the default value of heartbeat_interval is 10 and heartbeat_timeout is 90
|
||||
# The default value of heartbeat_interval is 10 and heartbeat_timeout is 90. Set negative value
|
||||
# to disable it.
|
||||
# heartbeat_interval = 30
|
||||
# heartbeat_timeout = 90
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ oidc_skip_expiry_check = false
|
|||
oidc_skip_issuer_check = false
|
||||
|
||||
# heartbeat configure, it's not recommended to modify the default value
|
||||
# the default value of heartbeat_timeout is 90
|
||||
# the default value of heartbeat_timeout is 90. Set negative value to disable it.
|
||||
# heartbeat_timeout = 90
|
||||
|
||||
# user_conn_timeout configure, it's not recommended to modify the default value
|
||||
|
|
@ -121,6 +121,9 @@ subdomain_host = frps.com
|
|||
|
||||
# if tcp stream multiplexing is used, default is true
|
||||
tcp_mux = true
|
||||
# specify keep alive interval for tcp mux.
|
||||
# only valid if tcp_mux is true.
|
||||
# tcp_mux_keepalive_interval = 60
|
||||
|
||||
# custom 404 page for HTTP requests
|
||||
# custom_404_page = /path/to/404.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue