Commit ad72ce7a authored by omega8cc's avatar omega8cc

Nginx: Map /.well-known/acme-challenge to support hosting_le

parent b4e8f833
......@@ -95,7 +95,8 @@ add_header X-XSS-Protection "1; mode=block";
###
### Support for letsencrypt.org per https://tools.ietf.org/html/rfc5785.
###
location ^~ /.well-known/acme-challenge/ {
location ^~ /.well-known/acme-challenge {
alias <?php print $aegir_root; ?>/tools/le/.acme-challenges;
try_files $uri 404;
}
<?php endif; ?>
......
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