nginx_site: Fix certbot proxy

This commit is contained in:
Timo Makinen 2024-10-19 17:08:09 +00:00
parent b0ca80f4c2
commit b16dcb8329

View file

@ -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 %}