summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/kyriasis_com.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 9f42ff8..59f05f8 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -1,4 +1,5 @@
include:
+ - .kyriasis_com
- .theos_kyriasis_com
- .xan_kyriasis_com
- .git_kyriasis_com
diff --git a/theos/certs/kyriasis_com.sls b/theos/certs/kyriasis_com.sls
new file mode 100644
index 0000000..ba6a97d
--- /dev/null
+++ b/theos/certs/kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+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: