diff options
Diffstat (limited to 'nginx/pie_in_the_sky_kitchen.sls')
-rw-r--r-- | nginx/pie_in_the_sky_kitchen.sls | 18 |
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: |