summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2019-03-21 19:55:41 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2019-03-21 19:55:41 +0100
commit9a2369b00b802f7d26a03c764e579e0fa0721aed (patch)
treec19d59c0ae4271a10fbfad784b865396721cc970
parent8dffe8c3d738108cb3e45e0c4168b8a2214d4a38 (diff)
downloadfile-9a2369b00b802f7d26a03c764e579e0fa0721aed.tar.xz
theos/certs: add kyriasis.com
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--theos/certs/init.sls1
-rw-r--r--theos/certs/kyriasis_com.sls16
2 files changed, 17 insertions, 0 deletions
diff --git a/theos/certs/init.sls b/theos/certs/init.sls
index 9f42ff8..59f05f8 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -1,4 +1,5 @@
include:
+ - .kyriasis_com
- .theos_kyriasis_com
- .xan_kyriasis_com
- .git_kyriasis_com
diff --git a/theos/certs/kyriasis_com.sls b/theos/certs/kyriasis_com.sls
new file mode 100644
index 0000000..ba6a97d
--- /dev/null
+++ b/theos/certs/kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+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: