make path to acme.conf global alias file customizable
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -464,7 +464,8 @@ class nginx extends HttpConfigBase {
|
||||
|
||||
if (Settings::Get('system.use_ssl') == '1' && Settings::Get('system.leenabled') == '1')
|
||||
{
|
||||
$vhost_content.= "\t".'include /etc/nginx/acme.conf;'."\n";
|
||||
$acmeConfFilename = Settings::Get('system.letsencryptacmeconf');
|
||||
$vhost_content.= "\t".'include '.$acmeConfFilename.';'."\n";
|
||||
}
|
||||
|
||||
// if the documentroot is an URL we just redirect
|
||||
|
||||
Reference in New Issue
Block a user