diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-03-02 07:52:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-02 07:52:20 +0100 |
commit | 2947830ef60c90f94af801cdcd2ce2c790d46371 (patch) | |
tree | c4c6b43bf4c57ad98dbd915679114c752a99e8a0 | |
parent | 75c22ab8dcaafdd52de3ef008ca816988432e665 (diff) | |
parent | 133b42529d0084517eba016a6dd38f72ea3aef95 (diff) | |
download | vyos-documentation-2947830ef60c90f94af801cdcd2ce2c790d46371.tar.gz vyos-documentation-2947830ef60c90f94af801cdcd2ce2c790d46371.zip |
Merge pull request #1599 from treo/treo/haproxy_timeout_docs
Add documentation for HAProxy timeout configuration
-rw-r--r-- | docs/configuration/loadbalancing/haproxy.rst | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/configuration/loadbalancing/haproxy.rst b/docs/configuration/loadbalancing/haproxy.rst index c7c25783..e62740ce 100644 --- a/docs/configuration/loadbalancing/haproxy.rst +++ b/docs/configuration/loadbalancing/haproxy.rst @@ -57,6 +57,12 @@ Service For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level` see tables in syslog configuration section. +.. cfgcmd:: set load-balancing haproxy service <name> timeout client + <seconds> + + Set the maximum inactivity time on the client side for this service. + Value range 1-3600 seconds. + .. cfgcmd:: set load-balancing haproxy service <name> http-compression algorithm <gzip | deflate | identity | raw-deflate> @@ -184,6 +190,26 @@ Backend For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level` see tables in syslog configuration section. +.. cfgcmd:: set load-balancing haproxy backend <name> timeout check + <seconds> + + Set the timeout in seconds for established connections. + Value range 1-3600 seconds. + + +.. cfgcmd:: set load-balancing haproxy backend <name> timeout connect + <seconds> + + Set the maximum time to wait for a connection attempt to a server to succeed. + Value range 1-3600 seconds. + +.. cfgcmd:: set load-balancing haproxy backend <name> timeout server + <seconds> + + Set the maximum inactivity time on the server side. + Value range 1-3600 seconds. + + Global ------- @@ -212,6 +238,26 @@ Global parameters For an explanation on :ref:`syslog_facilities` and :ref:`syslog_severity_level` see tables in syslog configuration section. +.. cfgcmd:: set load-balancing haproxy timeout check <seconds> + + Set the timeout in seconds for established connections. + Value range 1-3600 seconds. Default is 5 seconds. + +.. cfgcmd:: set load-balancing haproxy timeout client <seconds> + + Set the maximum inactivity time on the client side. + Value range 1-3600 seconds. Default is 50 seconds. + +.. cfgcmd:: set load-balancing haproxy timeout connect <seconds> + + Set the maximum time to wait for a connection attempt to a server to succeed. + Value range 1-3600 seconds. Default is 10 seconds. + +.. cfgcmd:: set load-balancing haproxy timeout server <seconds> + + Set the maximum inactivity time on the server side. + Value range 1-3600 seconds. Default is 50 seconds. + Health checks ============= |