summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2024-05-31 13:19:11 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2024-05-31 13:19:11 +0200
commit4c6f2c8bdc31c7016ac6515f53b3096509077732 (patch)
tree5992919aac453300415a2e89ac439ad7f073a72c
parent9455064334b7acc0d8a42a88ff914072194b76d9 (diff)
downloadfile-4c6f2c8bdc31c7016ac6515f53b3096509077732.tar.xz
Add pie-in-the-sky.kitchen cert config
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-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: