summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2019-01-02 20:25:11 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2019-01-02 20:25:11 +0100
commitbd7248d27115b46f6e4ae35d1af2fd32f5101b73 (patch)
tree01b05af24f91460e9022e3aaa8c036b446836ccd /theos/certs
parent28b5d5fd7022248915460e88d8db3c13828ed1d2 (diff)
downloadfile-bd7248d27115b46f6e4ae35d1af2fd32f5101b73.tar.xz
Add grafana cert
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/certs')
-rw-r--r--theos/certs/grafana_kyriasis_com.sls16
1 files changed, 16 insertions, 0 deletions
diff --git a/theos/certs/grafana_kyriasis_com.sls b/theos/certs/grafana_kyriasis_com.sls
new file mode 100644
index 0000000..5c7188b
--- /dev/null
+++ b/theos/certs/grafana_kyriasis_com.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx.ng
+
+grafana.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: