Add base domain to the wildcard certificate

This commit is contained in:
Kris Lamoureux 2022-08-17 02:17:36 -04:00
parent e4fed78193
commit 344b79e97f
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -78,7 +78,9 @@
--email "{{ proxy.dns_cloudflare.email }}" \
--dns-cloudflare \
--dns-cloudflare-credentials /root/.cloudflare.ini \
-d "*.{{ item }}" {{ proxy.dns_cloudflare.opts | default("") }}'
-d "*.{{ item }}" \
-d "{{ item }}" \
{{ proxy.dns_cloudflare.opts | default("") }}'
args:
creates: "/etc/letsencrypt/live/{{ item }}/fullchain.pem"
loop: "{{ proxy.dns_cloudflare.wildcard_domains }}"