nginx: Fix certbot proxy config

This commit is contained in:
Timo Makinen 2024-06-28 15:22:49 +00:00
parent 8ad160b046
commit c7606378f2

View file

@ -35,7 +35,7 @@ http {
server_name {{ inventory_hostname }};
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 / {
return 301 https://$host$request_uri;