diff --git a/www/caddy/Makefile b/www/caddy/Makefile index ba7f7a956..f5a01d871 100644 --- a/www/caddy/Makefile +++ b/www/caddy/Makefile @@ -1,6 +1,5 @@ PLUGIN_NAME= caddy -PLUGIN_VERSION= 1.7.5 -PLUGIN_REVISION= 1 +PLUGIN_VERSION= 1.7.6 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/pkg-descr b/www/caddy/pkg-descr index 023352a4a..24bccb238 100644 --- a/www/caddy/pkg-descr +++ b/www/caddy/pkg-descr @@ -13,6 +13,10 @@ DOC: https://docs.opnsense.org/manual/how-tos/caddy.html Plugin Changelog ================ +1.7.6 + +* Fix: Web UI can still restart/stop Caddy when running as `www` user (opnsense/plugins#4402) + 1.7.5 * Add: Load Balancing options to Layer 4 Proxy and HTTP Handle diff --git a/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/rc.conf.d/caddy b/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/rc.conf.d/caddy index da6745447..6464fe130 100644 --- a/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/rc.conf.d/caddy +++ b/www/caddy/src/opnsense/service/templates/OPNsense/Caddy/rc.conf.d/caddy @@ -3,6 +3,7 @@ {% set generalSettings = helpers.getNodeByTag('Pischem.caddy.general') %} {% if generalSettings.enabled|default("0") == "1" %} caddy_enable="YES" +caddy_admin="unix//var/run/caddy/caddy.sock|0220" caddy_setup="/usr/local/opnsense/scripts/OPNsense/Caddy/setup.sh" {% if generalSettings.DisableSuperuser|default("0") == "1" %} caddy_user=www