9ddfc06
Alias /.well-known/acme-challenge/ "/var/www/challenges/"
9ddfc06
9ddfc06
# Note, blocking access to <Location "/"> in a <VirtualHost> will override
9ddfc06
# these global permissions.  You will need to modify those domains
9ddfc06
# to allow access to /.well-known/, or just copy the <Location> from below.
9ddfc06
# See: http://httpd.apache.org/docs/2.2/sections.html
9ddfc06
9ddfc06
<Location "/.well-known/acme-challenge/">
9ddfc06
	Options -Indexes
9ddfc06
	Order allow,deny
9ddfc06
	Allow from all
9ddfc06
</Location>
9ddfc06
<Directory "/var/www/challenges">
9ddfc06
	Options -Indexes
9ddfc06
	Order allow,deny
9ddfc06
	Allow from all
9ddfc06
</Directory>