summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2024-05-27 00:07:57 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2024-05-27 00:07:57 +0200
commit3a095a2f1326073cbd2dffe5ce9c27eb3267470b (patch)
tree85692f9c2ba5e9d42b4d19ee425c7ab50931022a
parent1369dab792854537dbda516894046918f0394be7 (diff)
downloadpillar-3a095a2f1326073cbd2dffe5ce9c27eb3267470b.tar.xz
Add stub remmy.foo nginx configs
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nginx/gallery_remmy_foo.sls32
-rw-r--r--nginx/remmy_foo.sls18
-rw-r--r--top.sls11
3 files changed, 58 insertions, 3 deletions
diff --git a/nginx/gallery_remmy_foo.sls b/nginx/gallery_remmy_foo.sls
new file mode 100644
index 0000000..a58379f
--- /dev/null
+++ b/nginx/gallery_remmy_foo.sls
@@ -0,0 +1,32 @@
+nginx:
+ servers:
+ managed:
+ gallery.remmy.foo:
+ enabled: True
+ config:
+ - server:
+ - server_name: gallery.remmy.foo
+ - listen: 80
+ - listen: '[::]:80'
+
+ - location /.well-known/acme-challenge:
+ - root: /srv/http
+
+ - location /:
+ - return: '301 https://$server_name$request_uri'
+
+ gallery-static.remmy.foo:
+ enabled: True
+ config:
+ - server:
+ - server_name: gallery-static.remmy.foo
+ - listen: 80
+ - listen: '[::]:80'
+
+ - location /.well-known/acme-challenge:
+ - root: /srv/http
+
+ - location /:
+ - return: '301 https://$server_name$request_uri'
+
+# vim: ft=yaml et:
diff --git a/nginx/remmy_foo.sls b/nginx/remmy_foo.sls
new file mode 100644
index 0000000..e0b57d6
--- /dev/null
+++ b/nginx/remmy_foo.sls
@@ -0,0 +1,18 @@
+nginx:
+ servers:
+ managed:
+ remmy.foo:
+ enabled: True
+ config:
+ - server:
+ - server_name: remmy.foo
+ - listen: 80
+ - listen: '[::]:80'
+
+ - location /.well-known/acme-challenge:
+ - root: /srv/http
+
+ - location /:
+ - return: '301 https://$server_name$request_uri'
+
+# vim: ft=yaml et:
diff --git a/top.sls b/top.sls
index ebc8f21..fe2b079 100644
--- a/top.sls
+++ b/top.sls
@@ -1,18 +1,23 @@
base:
'theos.kyriasis.com':
- - nginx.actual_kyriasis_com
- nginx.base
- - nginx.gallery_remmy_io
+
+ - nginx.actual_kyriasis_com
- nginx.git_kyriasis_com
- nginx.grafana_kyriasis_com
- nginx.kyriasis_com
- nginx.miniflux_kyriasis_com
- - nginx.remmy_io
- nginx.repsys_kyriasis_com
- nginx.theos_kyriasis_com
- nginx.vault_kyriasis_com
- nginx.xan_kyriasis_com
+ - nginx.gallery_remmy_foo
+ - nginx.remmy_foo
+
+ - nginx.gallery_remmy_io
+ - nginx.remmy_io
+
- opensmtpd.theos
# vim: set ft=yaml et: