From 3a095a2f1326073cbd2dffe5ce9c27eb3267470b Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 27 May 2024 00:07:57 +0200 Subject: Add stub remmy.foo nginx configs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/gallery_remmy_foo.sls | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 nginx/gallery_remmy_foo.sls (limited to 'nginx/gallery_remmy_foo.sls') 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: -- cgit v1.2.3-70-g09d2