summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/vault_kyriasis_com.sls17
2 files changed, 18 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 451d701..375c112 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -10,6 +10,7 @@ include:
- .repsys_kyriasis_com
- .taskd_kyriasis_com
- .theos_kyriasis_com
+ - .vault_kyriasis_com
- .xan_kyriasis_com
/etc/letsencrypt/archive:
diff --git a/theos/certs/vault_kyriasis_com.sls b/theos/certs/vault_kyriasis_com.sls
new file mode 100644
index 0000000..ae7dfca
--- /dev/null
+++ b/theos/certs/vault_kyriasis_com.sls
@@ -0,0 +1,17 @@
+include:
+ - nginx
+
+vault.kyriasis.com:
+ acme.cert:
+ - email: johannes@kyriasis.com
+ - webroot: /srv/http/
+ - keysize: 4096
+ - renew: 30
+
+ - watch_in:
+ - service: nginx_service
+ - require_in:
+ - service: nginx_service
+
+
+# vim: set ft=yaml et: