aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/apache2.conf
blob: 20bf2adcc9201857f93b5659e608e24aac6b0f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Use Apache2 to serve ACME requests by passing them over to a
# locally-bound lacme webserver component.
#
# This file needs to be sourced to the server directives (at least the
# non-ssl one) of each virtual host requiring authorization.

<Location /.well-known/acme-challenge/>
  ProxyPass unix:///var/run/lacme-www.socket|http://localhost/.well-known/acme-challenge/
  Order allow,deny
  Allow from all
</Location>