nginx_site: Use plain http for certbot

This commit is contained in:
Timo Makinen 2024-05-11 19:01:13 +00:00
parent a25cd83e94
commit a2fe24955b

View file

@ -55,7 +55,7 @@ server {
listen [::]:80; listen [::]:80;
server_name {{ nginx_site_name }}; server_name {{ nginx_site_name }};
location /.well-known/acme-challenge/ { location /.well-known/acme-challenge/ {
proxy_pass https://certbot.home.foo.sh/.well-known/acme-challenge/; proxy_pass http://certbot.home.foo.sh/.well-known/acme-challenge/;
} }
location / { location / {
{% if nginx_site_redirect is defined %} {% if nginx_site_redirect is defined %}