From 4e4518a8d7fbaf4de74dac6b81a465d28458b439 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 11 Nov 2016 11:20:28 +0100 Subject: use global alias to work also if there are redirects --- src/server/plugins-available/apache2_plugin.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/plugins-available/apache2_plugin.inc.php') diff --git a/src/server/plugins-available/apache2_plugin.inc.php b/src/server/plugins-available/apache2_plugin.inc.php index 16ba38e..a35cb24 100755 --- a/src/server/plugins-available/apache2_plugin.inc.php +++ b/src/server/plugins-available/apache2_plugin.inc.php @@ -1021,7 +1021,7 @@ class apache2_plugin { $crt_tmp_file = "/etc/acme.sh/".$domain."/".$domain.".cer"; $key_tmp_file = "/etc/acme.sh/".$domain."/".$domain.".key"; $bundle_tmp_file = "/etc/acme.sh/".$domain."/fullchain.cer"; - $webroot = $data['new']['document_root']."/".$web_folder; + $webroot = "/var/www/acme"; //* check if we have already a Let's Encrypt cert //if(!file_exists($crt_tmp_file) && !file_exists($key_tmp_file)) { -- cgit v1.2.3