mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-04 14:26:13 -04:00
www/caddy: Fix active health check in template from https://github.com/opnsense/plugins/pull/4721 (#4725)
This commit is contained in:
parent
bc2bb3d982
commit
90fedaaee3
1 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue