Commit a1637851 authored by omega8cc's avatar omega8cc

Apache: Add Alias /.well-known/acme-challenge also in the SSL vhost

This allows to verify ACME challenges when the site has Required SSL option active.
parent 81664e6d
......@@ -6,6 +6,15 @@
ServerAdmin <?php print $this->site_mail; ?>
<?php endif;?>
$aegir_root = drush_get_option('aegir_root');
if (!$aegir_root && $server->aegir_root) {
$aegir_root = $server->aegir_root;
Alias /.well-known/acme-challenge <?php print $aegir_root; ?>/tools/le/.acme-challenges
DocumentRoot <?php print $this->root; ?>
ServerName <?php print $this->uri; ?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment