infrastructure-services/code-repo.yml: Add letsencrypt to manage the ssl certificates.

library/roles/nginx/templates/letsencrypt-proxy.conf.j2: Fix the nginx config, again.
This commit is contained in:
Andrea Dell'Amico 2016-04-27 18:37:24 +02:00
parent 37541e3126
commit 39f1bbcef7
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
server {
location /.well-known/acme-challenge {
listen 80 default_server;
location ^~ /.well-known/acme-challenge {
proxy_pass http://127.0.0.1:{{ letsencrypt_acme_standalone_port}}/.well-known/acme-challenge;
access_log /var/log/nginx/letsencrypt_acmetool_access.log;
error_log /var/log/nginx/letsencrypt_acmetool_error.log;
}
}