summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-05 22:51:54 +0300
committerGitHub <noreply@github.com>2023-09-05 22:51:54 +0300
commit435af27787160079cc4074c1257ba7191bc60380 (patch)
tree2f76d000005cd0e65535caa44d63019306f59617
parent17d83fe780fd581f404c2e149facbffcb0d293c4 (diff)
parent41143c901a75667b256342a2bec82344684cc6cb (diff)
downloadvyos-1x-435af27787160079cc4074c1257ba7191bc60380.tar.gz
vyos-1x-435af27787160079cc4074c1257ba7191bc60380.zip
Merge pull request #2210 from sever-sever/T5548-sag
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 %}