diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/nginx/acme-challenge | 3 | ||||
| -rw-r--r-- | templates/nginx/nginx.conf | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/templates/nginx/acme-challenge b/templates/nginx/acme-challenge index 934999f..fad9cad 100644 --- a/templates/nginx/acme-challenge +++ b/templates/nginx/acme-challenge @@ -1,4 +1,5 @@ location /.well-known/acme-challenge { # This works for acmetool. If using letsencrypt change 'alias' to 'root' - alias /var/lib/acme-challenge; + alias /var/run/acme/acme-challenge/; + # alias /var/lib/acme-challenge; } diff --git a/templates/nginx/nginx.conf b/templates/nginx/nginx.conf index 3bf546f..eb622d5 100644 --- a/templates/nginx/nginx.conf +++ b/templates/nginx/nginx.conf @@ -24,6 +24,8 @@ http { listen [::]:80; server_name localhost; + include acme-challenge; + location / { root /usr/share/nginx/html; index index.html index.htm; |
