2018-06-15 09:04:33 +02:00
|
|
|
location ^~ /.well-known/acme-challenge/ {
|
2018-09-09 10:18:39 +02:00
|
|
|
resolver 9.9.9.9;
|
2018-08-07 09:27:02 +02:00
|
|
|
set $acme_host {{ acme_server }}.{{ http_domain_internal }};
|
|
|
|
proxy_pass https://$acme_host:443;
|
2018-06-15 09:04:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
location = /.well-known/acme-challenge/ {
|
|
|
|
return 404;
|
|
|
|
}
|