opnsense/plugins#4402: configure custom permissions on caddy.sock (#4403)

This commit is contained in:
Gavin Chappell
2024-12-13 11:00:00 +01:00
committed by GitHub
parent a6b7de9dc1
commit 7c0c385c94
3 changed files with 6 additions and 2 deletions
+1 -2
View File
@@ -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
+4
View File
@@ -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
@@ -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