summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-08-19 00:40:30 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2018-08-19 00:40:30 +0200
commitd18c8fa28907a8aa9c33b48950f08274bcfc58d9 (patch)
tree3991b21330083367877050d4f0e9179e51c9b39f
parente0a730f42b6da14d20664a4bf85c2c3f307baf9a (diff)
downloadfile-d18c8fa28907a8aa9c33b48950f08274bcfc58d9.tar.xz
Add remmmy.io cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/remmy_io.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index e1fe10c..62993bd 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -6,6 +6,7 @@ include:
- .riot_kyriasis_com
- .taskd_kyriasis_com
- .miniflux_kyriasis_com
+ - .remmy_io
/etc/letsencrypt/archive:
file.directory:
diff --git a/theos/certs/remmy_io.sls b/theos/certs/remmy_io.sls
new file mode 100644
index 0000000..8004543
--- /dev/null
+++ b/theos/certs/remmy_io.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+remmy_io:
+ 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: