summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2019-05-30 16:53:11 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2019-05-30 16:53:11 +0200
commit60cd4a792ee5dbf64eb90fc7fc2e980e2397c578 (patch)
tree0ee2b89255a9c35f6de1815fb389f94b22e8babe
parent9a2369b00b802f7d26a03c764e579e0fa0721aed (diff)
downloadfile-60cd4a792ee5dbf64eb90fc7fc2e980e2397c578.tar.xz
Add repsys cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/repsys_kyriasis_com.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 59f05f8..211392c 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -9,6 +9,7 @@ include:
- .miniflux_kyriasis_com
- .grafana_kyriasis_com
- .prometheus_kyriasis_com
+ - .repsys_kyriasis_com
- .remmy_io
/etc/letsencrypt/archive:
diff --git a/theos/certs/repsys_kyriasis_com.sls b/theos/certs/repsys_kyriasis_com.sls
new file mode 100644
index 0000000..0ab458d
--- /dev/null
+++ b/theos/certs/repsys_kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+repsys.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: