summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2018-04-07 20:24:12 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2018-04-07 20:24:12 +0100
commitbd934b8b23fc59292cd12fbeeb3d3a6d1da84413 (patch)
tree4c2049d90ddaa0880cafc8c67d9acb8040287646
parentf4b0605ba2a4231370ed562ce879dfbd274fdbe6 (diff)
downloadfile-bd934b8b23fc59292cd12fbeeb3d3a6d1da84413.tar.xz
Add miniflux cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/miniflux_kyriasis_com.sls17
2 files changed, 18 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 50d520e..77e205e 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -4,6 +4,7 @@ include:
- .git_kyriasis_com
- .matrix_kyriasis_com
- .riot.kyriasis.com
+ - .miniflux_kyriasis_com
/etc/letsencrypt/archive:
file.directory:
diff --git a/theos/certs/miniflux_kyriasis_com.sls b/theos/certs/miniflux_kyriasis_com.sls
new file mode 100644
index 0000000..e5d7f86
--- /dev/null
+++ b/theos/certs/miniflux_kyriasis_com.sls
@@ -0,0 +1,17 @@
+include:
+ - nginx.ng
+
+miniflux.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: