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