mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
www/caddy: fix for #4930
Best practice vs. reality, flagged in code audit but reality had other plans.
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user