From bf45298f0c1d2cf533a0956fb6bdc889a8407de1 Mon Sep 17 00:00:00 2001 From: Monviech <79600909+Monviech@users.noreply.github.com> Date: Fri, 13 Sep 2024 20:55:20 +0200 Subject: [PATCH] www/caddy: Typo in TlsInsecureSkipVerify condition prevents it from appearing if it is the only transport_http option. (#4237) --- www/caddy/Makefile | 1 + .../src/opnsense/service/templates/OPNsense/Caddy/Caddyfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/www/caddy/Makefile b/www/caddy/Makefile index d1427802e..0a0183dac 100644 --- a/www/caddy/Makefile +++ b/www/caddy/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= caddy PLUGIN_VERSION= 1.7.0 +PLUGIN_REVISION= 1 PLUGIN_DEPENDS= caddy-custom PLUGIN_COMMENT= Modern Reverse Proxy with Automatic HTTPS, Dynamic DNS and Layer4 Routing PLUGIN_MAINTAINER= cedrik@pischem.com diff --git a/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile b/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile index 0ca5f257f..ef1a10481 100644 --- a/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile +++ b/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/Caddyfile @@ -415,7 +415,7 @@ http://{{ domain }} { {% if handle.PassiveHealthFailDuration|default("") %} fail_duration {{ handle.PassiveHealthFailDuration }}s {% endif %} - {% set has_transport_options = handle.HttpVersion or handle.HttpKeepalive or handle.HttpTls|default("0") == "1" or handle.HttpTlsesecureSkipVerify|default("0") == "1" or handle.HttpTlsTrustedCaCerts or handle.HttpTlsServerName %} + {% set has_transport_options = handle.HttpVersion or handle.HttpKeepalive or handle.HttpTls|default("0") == "1" or handle.HttpTlsInsecureSkipVerify|default("0") == "1" or handle.HttpTlsTrustedCaCerts or handle.HttpTlsServerName %} {% if has_transport_options %} {% if handle.HttpNtlm|default("0") == "1" %} transport http_ntlm {