diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2021-02-14 20:40:29 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2021-02-14 20:40:50 +0100 |
commit | 956764d11c9445c835f992a782d90d8de90fe565 (patch) | |
tree | 86ec06baecf96383fa4866787ecb817085438e70 /snippets/nginx.conf | |
parent | a903ea92dd736c560d21fe45063d4914765fa173 (diff) |
Improve nginx/apache2 snippets for direct serving of challenge files.
With the new 'challenge-directory' logic symlinks can be disabled.
Diffstat (limited to 'snippets/nginx.conf')
-rw-r--r-- | snippets/nginx.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/snippets/nginx.conf b/snippets/nginx.conf index af2e92e..76309f0 100644 --- a/snippets/nginx.conf +++ b/snippets/nginx.conf @@ -8,9 +8,11 @@ location ^~ /.well-known/acme-challenge/ { # Pass ACME requests to lacme's webserver component 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 - ## lacme's configuration file + ## lacme's configuration file and uncomment the following: + # alias /var/www/acme-challenge/; # default_type application/jose+json; # disable_symlinks on; |