diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2020-08-04 01:40:31 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2020-08-04 01:40:31 +0200 |
commit | 2671d497d6d287b4729fed39738a9ad86e78c44c (patch) | |
tree | 34599aa17192d0d7441c799d3c013d2659a1ccda /snippets | |
parent | cfb8e89b5992b51d5d0955509dfedeab228e43eb (diff) | |
parent | 49c14fb9faf9aedf1f6c22bff9526ba980d0f23b (diff) |
Merge tag 'upstream/0.6.1' into debian
New release 0.6.1
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/apache2.conf | 5 | ||||
-rw-r--r-- | snippets/nginx.conf | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/snippets/apache2.conf b/snippets/apache2.conf index 20bf2ad..45d7c7f 100644 --- a/snippets/apache2.conf +++ b/snippets/apache2.conf @@ -5,8 +5,7 @@ # non-ssl one) of each virtual host requiring authorization. <Location /.well-known/acme-challenge/> - ProxyPass unix:///var/run/lacme-www.socket|http://localhost/.well-known/acme-challenge/ - Order allow,deny - Allow from all + ProxyPass unix://@@runstatedir@@/lacme-www.socket|http://localhost/.well-known/acme-challenge/ + Require all granted </Location> diff --git a/snippets/nginx.conf b/snippets/nginx.conf index 981bdc3..6775489 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-www.socket; + proxy_pass http://unix:@@runstatedir@@/lacme-www.socket; ## Alternatively, you can let nginx serve the requests by ## setting 'challenge-directory' to '/var/www/acme-challenge' in |