summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2018-07-14 13:38:53 +0200
committerRomain Porte <microjoe@microjoe.org>2018-07-14 13:38:53 +0200
commit095286895def1352ea37d42131d7b5063c065070 (patch)
tree4a35d3c196aacac160ad04e2045609c260b750ec
parent21e06042ad725056cd66bb40512536ff471fb438 (diff)
downloadMicroJoe.nginx-staticwebsite-095286895def1352ea37d42131d7b5063c065070.tar.gz
MicroJoe.nginx-staticwebsite-095286895def1352ea37d42131d7b5063c065070.zip
fix letsencrypt webroot
-rw-r--r--templates/nginx.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/nginx.j2 b/templates/nginx.j2
index d186cb5..4dae57d 100644
--- a/templates/nginx.j2
+++ b/templates/nginx.j2
@@ -9,7 +9,7 @@ server {
error_log /var/log/nginx/{{ nginx_domain }}.error.log;
{% if letsencrypt_activate %}
- location ^~ /.well-known/ {
+ location ^~ /.well-known//acme-challenge {
root {{ letsencrypt_wellknown }};
}