summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
Diffstat (limited to 'theos/certs')
-rw-r--r--theos/certs/init.sls2
-rw-r--r--theos/certs/pie_in_the_sky_kitchen.sls16
2 files changed, 18 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 9094421..79b34de 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -17,6 +17,8 @@ include:
- .gallery_remmy_io
- .remmy_io
+ - .pie_in_the_sky_kitchen
+
/etc/letsencrypt/archive:
file.directory:
- makedirs: True
diff --git a/theos/certs/pie_in_the_sky_kitchen.sls b/theos/certs/pie_in_the_sky_kitchen.sls
new file mode 100644
index 0000000..58aad59
--- /dev/null
+++ b/theos/certs/pie_in_the_sky_kitchen.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx
+
+pie-in-the-sky.kitchen:
+ 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: