summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2024-05-31 13:17:02 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2024-05-31 13:18:21 +0200
commit32f11b4f23aae8181af3daf6de6b54feaf299776 (patch)
tree3d49e42cd3cbb4603231356da6c360226c9ddd32 /nginx
parent9915f7d765109a2da5e41aeab8c7b52b2929e335 (diff)
downloadpillar-32f11b4f23aae8181af3daf6de6b54feaf299776.tar.xz
Add initial pie-in-the-sky.kitchen nginx config
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r--nginx/pie_in_the_sky_kitchen.sls18
1 files changed, 18 insertions, 0 deletions
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: