summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2023-11-06 21:22:35 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2023-11-06 21:22:35 +0000
commitfc639ba83fe33836433f08b5cdf2c3b55e465080 (patch)
treed5e534f29f17684891214eac1d346cb45357f060 /theos/certs
parentf12407468863f5a349bf855d4e14f7c1f53e42be (diff)
downloadfile-fc639ba83fe33836433f08b5cdf2c3b55e465080.tar.xz
Add actual
Diffstat (limited to 'theos/certs')
-rw-r--r--theos/certs/actual_kyriasis_com.sls16
-rw-r--r--theos/certs/init.sls1
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/actual_kyriasis_com.sls b/theos/certs/actual_kyriasis_com.sls
new file mode 100644
index 0000000..9cd4fc1
--- /dev/null
+++ b/theos/certs/actual_kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx
+
+actual.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:
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index c95fd8f..82b7907 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -10,6 +10,7 @@ include:
- .repsys_kyriasis_com
- .remmy_io
- .gallery_remmy_io
+ - .actual_kyriasis_com
/etc/letsencrypt/archive:
file.directory: