summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--theos/certs/gallery_remmy_foo.sls28
-rw-r--r--theos/certs/init.sls8
-rw-r--r--theos/certs/remmy_foo.sls16
3 files changed, 50 insertions, 2 deletions
diff --git a/theos/certs/gallery_remmy_foo.sls b/theos/certs/gallery_remmy_foo.sls
new file mode 100644
index 0000000..a417240
--- /dev/null
+++ b/theos/certs/gallery_remmy_foo.sls
@@ -0,0 +1,28 @@
+include:
+ - nginx
+
+gallery.remmy.foo:
+ acme.cert:
+ - email: johannes@kyriasis.com
+ - webroot: /srv/http/
+ - keysize: 4096
+ - renew: 30
+
+ - watch_in:
+ - service: nginx_service
+ - require_in:
+ - service: nginx_service
+
+gallery-static.remmy.foo:
+ 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 375c112..9094421 100644
--- a/theos/certs/init.sls
+++ b/theos/certs/init.sls
@@ -1,18 +1,22 @@
include:
- .actual_kyriasis_com
- - .gallery_remmy_io
- .git_kyriasis_com
- .grafana_kyriasis_com
- .kyriasis_com
- .miniflux_kyriasis_com
- .prometheus_kyriasis_com
- - .remmy_io
- .repsys_kyriasis_com
- .taskd_kyriasis_com
- .theos_kyriasis_com
- .vault_kyriasis_com
- .xan_kyriasis_com
+ - .gallery_remmy_foo
+ - .remmy_foo
+
+ - .gallery_remmy_io
+ - .remmy_io
+
/etc/letsencrypt/archive:
file.directory:
- makedirs: True
diff --git a/theos/certs/remmy_foo.sls b/theos/certs/remmy_foo.sls
new file mode 100644
index 0000000..6c39352
--- /dev/null
+++ b/theos/certs/remmy_foo.sls
@@ -0,0 +1,16 @@
+include:
+ - nginx
+
+remmy.foo:
+ 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: