summaryrefslogtreecommitdiffstats
path: root/theos/certs
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2024-05-27 00:09:32 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2024-05-27 00:09:32 +0200
commit9455064334b7acc0d8a42a88ff914072194b76d9 (patch)
tree24af7813f9cf2d1b19c1b34935d383bf16ff0750 /theos/certs
parentbd5a9591eead8840d3a59c2e2b39e2a17cd59aaf (diff)
downloadfile-9455064334b7acc0d8a42a88ff914072194b76d9.tar.xz
Add remmy.foo certs
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'theos/certs')
-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: