nginx: Fix certbot proxy config
This commit is contained in:
parent
8ad160b046
commit
c7606378f2
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ http {
|
||||||
server_name {{ inventory_hostname }};
|
server_name {{ inventory_hostname }};
|
||||||
|
|
||||||
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 / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
|
|
Loading…
Add table
Reference in a new issue