aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/apache2.conf
blob: 45d7c7f693f4f6dd176cccb50423295064f48b1f (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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://@@runstatedir@@/lacme-www.socket|http://localhost/.well-known/acme-challenge/
  Require all granted
</Location>