Commit 0c2ad822 authored by Paul Cammish's avatar Paul Cammish
Browse files

Update non_ssl.template.erb

parent d9b725d0
......@@ -76,6 +76,17 @@
<LocationMatch "^/+$">
Options -Indexes
</LocationMatch>
#
# Disable any restrictions or rewrites to /.well-known/acme-challenge
# This ensures Let's Encrypt can validate domain ownership.
#
<Directory <%= htdocs_directory %>/.well-known/acme-challenge/ >
Require all granted
<IfModule rewrite_module>
RewriteEngine off
</IfModule>
</Directory>
#
# We need to log the virtual hostname the incoming request was
......
Supports Markdown
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