diff --git a/roles/nginx_site/templates/site.conf.j2 b/roles/nginx_site/templates/site.conf.j2 index ecc4f64..a967023 100644 --- a/roles/nginx_site/templates/site.conf.j2 +++ b/roles/nginx_site/templates/site.conf.j2 @@ -51,7 +51,7 @@ server { root /srv/web/{{ nginx_site_name }}; {% else %} location /.well-known/acme-challenge/ { - proxy_pass http://certbot.home.foo.sh/.well-known/acme-challenge/; + proxy_pass https://certbot.home.foo.sh/.well-known/acme-challenge/; } location / { {% if nginx_site_redirect is defined %}