aboutsummaryrefslogtreecommitdiffstats
path: root/snippets/nginx.conf
blob: 891a8340bde746c024668ecedfdf92ca37112158 (plain)
1
2
3
4
5
6
7
8
9
# Use Nginx to proxy ACME requests to a locally-bound lacme webserver.
#
# One of the nginx*.conf 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/ {
    proxy_pass http://unix:@@runstatedir@@/lacme-www.socket;
}