commit fffb635c212ad629d415b5b5d04ba9af7e74b6eb
parent 76ac1efce1999959ac915530aa5a5ee2e7b98c24
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Mon, 18 Nov 2024 22:12:57 +0100
feat(certbot): multiple domains
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hcl/default/certbot/templates/certbot-request.sh.tmpl b/hcl/default/certbot/templates/certbot-request.sh.tmpl
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
# https://eff-certbot.readthedocs.io/en/stable/using.html#re-creating-and-updating-existing-certificates
{{ with nomadVar "nomad/jobs/certbot" }}
-{{ range $i, $d := .domains.Value | split "," }}
+{{ range $i, $d := .domains.Value | split ";" }}
certbot certonly --standalone -n \
-m {{ with nomadVar "nomad/jobs/certbot" }}{{ .email }}{{ end }} \
--agree-tos --domains {{ $d }} # --force-renewal --staging