summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-05 19:39:38 +0200
committerGitHub <noreply@github.com>2023-09-05 19:39:38 +0200
commit0c8823c0021d45a791ef95eaca1516b900d8cb68 (patch)
tree9b208bb45d06bd8990861dafaeb25c011963ccc5
parentf8479bba8ea5c86ccc8f5aef81eb0544fe05ef15 (diff)
parent257019520c49c20824b7e5cad01d2d29ef5f62e6 (diff)
downloadvyos-1x-0c8823c0021d45a791ef95eaca1516b900d8cb68.tar.gz
vyos-1x-0c8823c0021d45a791ef95eaca1516b900d8cb68.zip
Merge pull request #2202 from sever-sever/T5548
T5548: Fix load-balancing reverse-proxy timeouts
-rw-r--r--data/templates/load-balancing/haproxy.cfg.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/load-balancing/haproxy.cfg.j2 b/data/templates/load-balancing/haproxy.cfg.j2
index f8e1587f8..0a40e1ecf 100644
--- a/data/templates/load-balancing/haproxy.cfg.j2
+++ b/data/templates/load-balancing/haproxy.cfg.j2
@@ -150,13 +150,13 @@ backend {{ back }}
{% endfor %}
{% endif %}
{% if back_config.timeout.check is vyos_defined %}
- timeout check {{ back_config.timeout.check }}
+ timeout check {{ back_config.timeout.check }}s
{% endif %}
{% if back_config.timeout.connect is vyos_defined %}
- timeout connect {{ back_config.timeout.connect }}
+ timeout connect {{ back_config.timeout.connect }}s
{% endif %}
{% if back_config.timeout.server is vyos_defined %}
- timeout server {{ back_config.timeout.server }}
+ timeout server {{ back_config.timeout.server }}s
{% endif %}
{% endfor %}