aboutsummaryrefslogtreecommitdiffstats
path: root/snippets
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-07-08 21:02:36 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-07-08 21:02:36 +0200
commit8cdd29841d0dbb89e866aad36173bb26182d0c97 (patch)
tree257e918f4af3bd68555276d7f19a0d3d0deea589 /snippets
parent8349b801a5f7e5f11b0a758d7ab28d8b79eb08ea (diff)
Bind webserver to /var/run/lacme-www.socket by default.
Diffstat (limited to 'snippets')
-rw-r--r--snippets/apache2.conf2
-rw-r--r--snippets/nginx.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/snippets/apache2.conf b/snippets/apache2.conf
index 471791c..20bf2ad 100644
--- a/snippets/apache2.conf
+++ b/snippets/apache2.conf
@@ -5,7 +5,7 @@
# 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/
+ ProxyPass unix:///var/run/lacme-www.socket|http://localhost/.well-known/acme-challenge/
Order allow,deny
Allow from all
</Location>
diff --git a/snippets/nginx.conf b/snippets/nginx.conf
index 6753ff9..981bdc3 100644
--- a/snippets/nginx.conf
+++ b/snippets/nginx.conf
@@ -6,7 +6,7 @@
location ^~ /.well-known/acme-challenge/ {
# Pass ACME requests to lacme's webserver component
- proxy_pass http://unix:/var/run/lacme.socket;
+ proxy_pass http://unix:/var/run/lacme-www.socket;
## Alternatively, you can let nginx serve the requests by
## setting 'challenge-directory' to '/var/www/acme-challenge' in