summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2020-05-23 01:26:30 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2020-05-23 01:26:30 +0200
commit26d03e07ada6d5c1a8dfaeef34e4332d73b586cb (patch)
tree7d7249b14f8e1fdbae7832f9f65d344d63ea237d
parentdbfc626a368f025ca5849e967d4c1acca39ba1d4 (diff)
downloadfile-26d03e07ada6d5c1a8dfaeef34e4332d73b586cb.tar.xz
Add gallery.remmy.io cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/certs/gallery_remmy_io.sls16
-rw-r--r--theos/certs/init.sls1
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/gallery_remmy_io.sls b/theos/certs/gallery_remmy_io.sls
new file mode 100644
index 0000000..dbd0378
--- /dev/null
+++ b/theos/certs/gallery_remmy_io.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx
+
+gallery.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:
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 211392c..f424f96 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -11,6 +11,7 @@ include:
- .prometheus_kyriasis_com
- .repsys_kyriasis_com
- .remmy_io
+ - .gallery_remmy_io
/etc/letsencrypt/archive:
file.directory: