summaryrefslogtreecommitdiffstats
path: root/theos
diff options
context:
space:
mode:
Diffstat (limited to 'theos')
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/riot_kyriasis_com.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 69999e7..50d520e 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -3,6 +3,7 @@ include:
- .xan_kyriasis_com
- .git_kyriasis_com
- .matrix_kyriasis_com
+ - .riot.kyriasis.com
/etc/letsencrypt/archive:
file.directory:
diff --git a/theos/certs/riot_kyriasis_com.sls b/theos/certs/riot_kyriasis_com.sls
new file mode 100644
index 0000000..605f010
--- /dev/null
+++ b/theos/certs/riot_kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+riot.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: