summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-02-09 17:34:10 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2017-02-09 17:34:10 +0000
commit5d34bb8938d56dde94fc69f14208cfba69b4524a (patch)
tree1d6477c2278ae27c3e89b7ae37d1d4f39e38e4d5 /theos/certs
parentc671fb5a1f5bb6b03b2df3a39f06ada94eef09f0 (diff)
downloadfile-5d34bb8938d56dde94fc69f14208cfba69b4524a.tar.xz
Add riot. cert
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/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: