aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@fucktheforce.de>2016-11-11 11:20:28 +0100
committerroot <root@fucktheforce.de>2016-11-11 11:20:28 +0100
commit4e4518a8d7fbaf4de74dac6b81a465d28458b439 (patch)
tree0ae33fddfb23c4f951b91ee4f526459d9a3c2356
parent0d07ae51cb19ac6190c4784f2b506e8250c08a41 (diff)
use global alias to work also if there are redirectsISPConfig-3.0.5.4p4_acme.sh
Diffstat (limited to '')
-rw-r--r--acme.conf7
-rwxr-xr-xsrc/server/plugins-available/apache2_plugin.inc.php2
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)) {