]> TLD Linux GIT Repositories - packages/dehydrated.git/blobdiff - httpd.conf
- back to httpd for now, no time to move /etc/httpd to /etc/apache distro wide
[packages/dehydrated.git] / httpd.conf
diff --git a/httpd.conf b/httpd.conf
new file mode 100644 (file)
index 0000000..ac93b93
--- /dev/null
@@ -0,0 +1,12 @@
+Alias /.well-known/acme-challenge /var/lib/dehydrated/acme-challenges
+<Directory /var/lib/dehydrated/acme-challenges>
+       # Apache 2.x
+       <IfModule !mod_authz_core.c>
+               Order allow,deny
+               Allow from all
+       </IfModule>
+       # Apache 2.4
+       <IfModule mod_authz_core.c>
+               Require all granted
+       </IfModule>
+</Directory>