diff options
-rw-r--r-- | acme.conf | 7 | ||||
-rwxr-xr-x | src/server/plugins-available/apache2_plugin.inc.php | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/acme.conf b/acme.conf new file mode 100644 index 0000000..c1a89b8 --- /dev/null +++ b/acme.conf @@ -0,0 +1,7 @@ +Alias /.well-known /var/www/acme/.well-known + +<Directory /var/www/acme/> + AllowOverride All + order allow,deny + allow from all +</Directory> 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)) { |