diff options
| author | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-05-26 19:18:57 -0500 |
|---|---|---|
| committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-06-19 03:08:06 -0500 |
| commit | 8a334590daa3104be0519bab8d73557304d8572c (patch) | |
| tree | aacfbf14494694eb1ed174157d9a74679c814f9b /data | |
| parent | 177c5e837073789431e945620dca6a2ee0b1927f (diff) | |
| download | vyos-1x-8a334590daa3104be0519bab8d73557304d8572c.tar.gz vyos-1x-8a334590daa3104be0519bab8d73557304d8572c.zip | |
haproxy: T8931: Add timeout.tunnel in default and backend sections
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/load-balancing/haproxy.cfg.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/load-balancing/haproxy.cfg.j2 b/data/templates/load-balancing/haproxy.cfg.j2 index 79fb5e369..c6729fda4 100644 --- a/data/templates/load-balancing/haproxy.cfg.j2 +++ b/data/templates/load-balancing/haproxy.cfg.j2 @@ -42,6 +42,7 @@ defaults timeout connect {{ timeout.connect }}s timeout client {{ timeout.client }}s timeout server {{ timeout.server }}s + timeout tunnel {{ timeout.tunnel }}s errorfile 400 /etc/haproxy/errors/400.http errorfile 403 /etc/haproxy/errors/403.http errorfile 408 /etc/haproxy/errors/408.http @@ -285,5 +286,8 @@ backend {{ back }} {% if back_config.timeout.server is vyos_defined %} timeout server {{ back_config.timeout.server }}s {% endif %} +{% if back_config.timeout.tunnel is vyos_defined %} + timeout tunnel {{ back_config.timeout.tunnel }}s +{% endif %} {% endfor %} {% endif %} |
