summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2019-08-31 23:25:30 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2019-08-31 23:26:18 +0200
commit0a32ac7f781d9a9a6a9f61eabc6b9c4108fb4fa5 (patch)
tree94175768f9651ee11967e2e4d171da940945fa3d /theos/certs
parent4032a673693191cb46f107b71d1a8ca63e0d5715 (diff)
downloadfile-0a32ac7f781d9a9a6a9f61eabc6b9c4108fb4fa5.tar.xz
Still need matrix cert for clients
This partially reverts commit 53af9a2e061558cc129e666985ebea1683506481. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/certs')
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/matrix_kyriasis_com.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index af7542b..211392c 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -3,6 +3,7 @@ include:
- .theos_kyriasis_com
- .xan_kyriasis_com
- .git_kyriasis_com
+ - .matrix_kyriasis_com
- .riot_kyriasis_com
- .taskd_kyriasis_com
- .miniflux_kyriasis_com
diff --git a/theos/certs/matrix_kyriasis_com.sls b/theos/certs/matrix_kyriasis_com.sls
new file mode 100644
index 0000000..77cd88e
--- /dev/null
+++ b/theos/certs/matrix_kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx
+
+matrix.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: