From 32f11b4f23aae8181af3daf6de6b54feaf299776 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 31 May 2024 13:17:02 +0200 Subject: Add initial pie-in-the-sky.kitchen nginx config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/pie_in_the_sky_kitchen.sls | 18 ++++++++++++++++++ top.sls | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 nginx/pie_in_the_sky_kitchen.sls diff --git a/nginx/pie_in_the_sky_kitchen.sls b/nginx/pie_in_the_sky_kitchen.sls new file mode 100644 index 0000000..90e94cd --- /dev/null +++ b/nginx/pie_in_the_sky_kitchen.sls @@ -0,0 +1,18 @@ +nginx: + servers: + managed: + pie-in-the-sky.kitchen: + enabled: True + config: + - server: + - server_name: pie-in-the-sky.kitchen + - 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 fe2b079..4222672 100644 --- a/top.sls +++ b/top.sls @@ -18,6 +18,8 @@ base: - nginx.gallery_remmy_io - nginx.remmy_io + - nginx.pie_in_the_sky_kitchen + - opensmtpd.theos # vim: set ft=yaml et: -- cgit v1.2.3-70-g09d2