www/caddy: Fix active health check in template from https://github.com/opnsense/plugins/pull/4721 (#4725)

This commit is contained in:
Monviech 2025-05-25 16:06:16 +02:00 committed by GitHub
parent bc2bb3d982
commit 90fedaaee3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -419,28 +419,28 @@ http://{{ domain }} {
health_uri {{ handle.health_uri }}
{% endif %}
{% if handle.health_upstream|default("") %}
health_uri {{ handle.health_upstream }}
health_upstream {{ handle.health_upstream }}
{% endif %}
{% if handle.health_port|default("") %}
health_uri {{ handle.health_port }}
health_port {{ handle.health_port }}
{% endif %}
{% if handle.health_interval|default("") %}
health_uri {{ handle.health_interval }}s
health_interval {{ handle.health_interval }}s
{% endif %}
{% if handle.health_passes|default("") %}
health_uri {{ handle.health_passes }}
health_passes {{ handle.health_passes }}
{% endif %}
{% if handle.health_fails|default("") %}
health_uri {{ handle.health_fails }}
health_fails {{ handle.health_fails }}
{% endif %}
{% if handle.health_timeout|default("") %}
health_uri {{ handle.health_timeout }}s
health_timeout {{ handle.health_timeout }}s
{% endif %}
{% if handle.health_status|default("") %}
health_uri {{ handle.health_status }}
health_status {{ handle.health_status }}
{% endif %}
{% if handle.health_body|default("") %}
health_uri {{ handle.health_body }}
health_body {{ handle.health_body }}
{% endif %}
{% if handle.health_follow_redirects|default("0") == "1" %}
health_follow_redirects