Private
Public Access
2
0

consul: activate https

This commit is contained in:
2026-02-12 14:37:42 +01:00
parent f80735417b
commit 5eeb74d53e
5 changed files with 21 additions and 17 deletions

View File

@@ -74,6 +74,8 @@
- cn: "server.{{ common.consul.datacenter }}.{{ common.consul.domain }}"
domains:
- "DNS:server.{{ common.consul.datacenter }}.{{ common.consul.domain }}"
- "DNS:{{ ansible_fqdn }}"
- "DNS:{{ ansible_hostname }}"
# Sites
- cn: "test.lab"
domains:
@@ -120,6 +122,8 @@
caddy_consul_delegate_to: "waf1"
caddy_consul_admin_token: "{{ secrets.consul.bootstrap_secret }}"
caddy_consul_aes_key: "{{ secrets.caddy.storage_consul_aes_key }}"
caddy_consul_client_cert: "/etc/ssl/certs/server.lab.itik.fr.crt"
caddy_consul_client_key: "/etc/ssl/private/server.lab.itik.fr.key"
caddy_sites: "{{ common.sites }}"
# ovh_ldp_cluster: "gra2.logs.ovh.com"
# ovh_ldp_token: "{{ secrets.ovh_ldp.token }}"