aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/apache2.conf
blob: c42a9fb62a68668e1ef167068dc60737d5b352ce (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:///run/lacme-www.socket|http://localhost/.well-known/acme-challenge/
  Require all granted
</Location>