summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2020-01-04 13:47:48 +0100
committerRomain Porte <microjoe@microjoe.org>2020-01-04 13:47:48 +0100
commit0a739be696b3d3c3a6560d9287efa3a1c93cf272 (patch)
treed4f77c831411ebb7aceac4fe20a9c559b40a4688
parent423bec9beea4d66c66db24a2b65419fe6ab3abdf (diff)
downloadMicroJoe.nginx-0a739be696b3d3c3a6560d9287efa3a1c93cf272.tar.gz
MicroJoe.nginx-0a739be696b3d3c3a6560d9287efa3a1c93cf272.zip
add missing letsencrypt webroot
-rw-r--r--files/default.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/files/default.j2 b/files/default.j2
index 36cfa04..9219250 100644
--- a/files/default.j2
+++ b/files/default.j2
@@ -46,6 +46,10 @@ server {
server_name _;
+ location ^~ /.well-known/acme-challenge {
+ root /var/www/letsencrypt/;
+ }
+
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.