updated haproxy state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-09-08 12:35:43 +02:00
parent 1a6d0f8b58
commit 43d68bc19b

View File

@ -296,6 +296,7 @@ frontend fe_https from {{ haproxy.config.namespace }}
# HTTP Backends # HTTP Backends
{%- if haproxy.config.vhosts %}
{%- for name, values in haproxy.config.vhosts.items() %} {%- for name, values in haproxy.config.vhosts.items() %}
{%- if not values.redirect|default(False) %} {%- if not values.redirect|default(False) %}
backend {{ name }} from {{ haproxy.config.namespace }} backend {{ name }} from {{ haproxy.config.namespace }}
@ -308,6 +309,7 @@ backend {{ name }} from {{ haproxy.config.namespace }}
http-check {{ step }} http-check {{ step }}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
{%- endif %}
{%- if values.usecache|default(True) %} {%- if values.usecache|default(True) %}
{{ cache() }} {{ cache() }}
@ -336,6 +338,7 @@ backend {{ name }} from {{ haproxy.config.namespace }}
{% endfor %} {% endfor %}
# TCP services # TCP services
{%- if haproxy.config.services %}
{%- for name, values in haproxy.config.services.items() %} {%- for name, values in haproxy.config.services.items() %}
listen {{ name }} from {{ haproxy.config.namespace }} listen {{ name }} from {{ haproxy.config.namespace }}
bind *:{{ values.port }},:::{{ values.port }} v4v6 name {{ name }} bind *:{{ values.port }},:::{{ values.port }} v4v6 name {{ name }}
@ -355,6 +358,7 @@ listen {{ name }} from {{ haproxy.config.namespace }}
default-server maxconn 100 weight 100 inter 1s fall 5 default-server maxconn 100 weight 100 inter 1s fall 5
{{- tcpendpoints(servers=values.servers|default([]), check=values.check|default(haproxy.config.check)) }} {{- tcpendpoints(servers=values.servers|default([]), check=values.check|default(haproxy.config.check)) }}
{% endfor %} {% endfor %}
{%- endif %}
# SPOE Agents # SPOE Agents
{%- for name, values in haproxy.config.spoe.items() %} {%- for name, values in haproxy.config.spoe.items() %}