library/roles/nginx/templates/letsencrypt-proxy.conf.j2: Fix the letsencrypt configuration.

This commit is contained in:
Andrea Dell'Amico 2016-04-27 13:36:11 +02:00
parent 0bff1d735f
commit f74f453a09
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,7 @@
location /.well-known/acme-challenge {
proxy_pass http://127.0.0.1:{{ letsencrypt_acme_standalone_port}}/.well-known/acme-challenge ;
server {
location /.well-known/acme-challenge {
proxy_pass http://127.0.0.1:{{ letsencrypt_acme_standalone_port}}/.well-known/acme-challenge;
}
}