nginx: Use alias for certbot host
This commit is contained in:
parent
ee23e2120b
commit
e672015a1f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ server {
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name {{ site }};
|
server_name {{ site }};
|
||||||
location /.well-known/acme-challenge/ {
|
location /.well-known/acme-challenge/ {
|
||||||
proxy_pass https://noc02.home.foo.sh/.well-known/acme-challenge/;
|
proxy_pass https://certbot.home.foo.sh/.well-known/acme-challenge/;
|
||||||
proxy_ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}.crt;
|
proxy_ssl_certificate {{ tls_certs }}/{{ inventory_hostname }}.crt;
|
||||||
proxy_ssl_certificate_key {{ tls_private }}/{{ inventory_hostname }}.key;
|
proxy_ssl_certificate_key {{ tls_private }}/{{ inventory_hostname }}.key;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue