From 90fedaaee3a238b839e16458d6afe89e884035fb Mon Sep 17 00:00:00 2001 From: Monviech <79600909+Monviech@users.noreply.github.com> Date: Sun, 25 May 2025 16:06:16 +0200 Subject: [PATCH] www/caddy: Fix active health check in template from https://github.com/opnsense/plugins/pull/4721 (#4725) --- .../service/templates/OPNsense/Caddy/Caddyfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile b/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile index b8fc14f8c..7c30c2f68 100644 --- a/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile +++ b/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile @@ -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