nginx_site: Fix certbot proxy
This commit is contained in:
parent
b0ca80f4c2
commit
b16dcb8329
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue