summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/cephadm/templates/services/ingress
diff options
context:
space:
mode:
Diffstat (limited to 'src/pybind/mgr/cephadm/templates/services/ingress')
-rw-r--r--src/pybind/mgr/cephadm/templates/services/ingress/haproxy.cfg.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pybind/mgr/cephadm/templates/services/ingress/haproxy.cfg.j2 b/src/pybind/mgr/cephadm/templates/services/ingress/haproxy.cfg.j2
index 100acce40..9a0309ab4 100644
--- a/src/pybind/mgr/cephadm/templates/services/ingress/haproxy.cfg.j2
+++ b/src/pybind/mgr/cephadm/templates/services/ingress/haproxy.cfg.j2
@@ -74,7 +74,7 @@ backend backend
balance static-rr
option httpchk HEAD / HTTP/1.0
{% for server in servers %}
- server {{ server.name }} {{ server.ip }}:{{ server.port }} check weight 100
+ server {{ server.name }} {{ server.ip }}:{{ server.port }} check weight 100 inter {{ health_check_interval }}
{% endfor %}
{% endif %}
{% if mode == 'tcp' %}
@@ -85,6 +85,6 @@ backend backend
default-server {{ default_server_opts|join(" ") }}
{% endif %}
{% for server in servers %}
- server {{ server.name }} {{ server.ip }}:{{ server.port }}
+ server {{ server.name }} {{ server.ip }}:{{ server.port }} check
{% endfor %}
{% endif %}