Switch caddy acme ca to zerossl
This commit is contained in:
parent
b5214a0a9f
commit
92b20d3d88
3 changed files with 11 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
||||||
acme_dns_svc:
|
acme_dns_svc:
|
||||||
domain: "{{ all_services | service_get_domain(service_name) }}"
|
domain: "{{ all_services | service_get_domain(service_name) }}"
|
||||||
port: 80
|
port: 80
|
||||||
|
caddy_extra:
|
||||||
|
# otherwise we have a dependency-loop with the wildcard, which needs this service
|
||||||
|
tls force_automate
|
||||||
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
nsadmin: "{{ admin_email | regex_replace('@', '.') }}"
|
||||||
records:
|
records:
|
||||||
a: "{{ ansible_facts.default_ipv4.address }}"
|
a: "{{ ansible_facts.default_ipv4.address }}"
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ caddy_acmedns_user: "{{ undef() }}"
|
||||||
caddy_acmedns_pass: "{{ undef() }}"
|
caddy_acmedns_pass: "{{ undef() }}"
|
||||||
caddy_acmedns_subd: "{{ undef() }}"
|
caddy_acmedns_subd: "{{ undef() }}"
|
||||||
caddy_acmedns_url: "https://{{ acme_dns.host }}"
|
caddy_acmedns_url: "https://{{ acme_dns.host }}"
|
||||||
|
caddy_acme_eab_key_id: "{{ undef() }}"
|
||||||
|
caddy_acme_eab_mac_key: "{{ undef() }}"
|
||||||
|
|
||||||
caddy_ports: "{{ host_services | services_get_attr('ports') | flatten | services_ports_to_docker('reverse_proxy') }}"
|
caddy_ports: "{{ host_services | services_get_attr('ports') | flatten | services_ports_to_docker('reverse_proxy') }}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
{
|
{
|
||||||
email {{ admin_email }}
|
email {{ admin_email }}
|
||||||
|
|
||||||
|
acme_ca https://acme.zerossl.com/v2/DV90
|
||||||
|
acme_eab {
|
||||||
|
key_id {{ caddy_acme_eab_key_id }}
|
||||||
|
mac_key {{ caddy_acme_eab_mac_key }}
|
||||||
|
}
|
||||||
|
|
||||||
metrics
|
metrics
|
||||||
|
|
||||||
servers {
|
servers {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue