aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/apache2.conf
blob: e1d56a9020304bba2b00e31610d750fc1f881c11 (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:///run/lacme-www.socket|http://localhost/.well-known/acme-challenge/
  Order allow,deny
  Allow from all
</Location>