www/caddy: fix for #4930

Best practice vs. reality, flagged in code audit but reality had other plans.
This commit is contained in:
Franco Fichtner
2025-09-09 19:33:00 +02:00
parent 877ebf20ed
commit 3f298fc57f
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
PLUGIN_NAME= caddy
PLUGIN_VERSION= 2.0.3
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
@@ -43,7 +43,8 @@ $writeFileIfChanged = function ($filePath, $content) {
}
};
$tempDir = '/usr/local/etc/caddy/certificates';
/* XXX used later to only append a file name */
$tempDir = '/usr/local/etc/caddy/certificates/';
// leaf certificate chain
$certificateRefs = [];