From 9c26c65afd36c83c9ca18d5b1b135da730895de3 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 21 Mar 2019 19:54:30 +0100 Subject: Add kyriasis.com to nginx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/kyriasis_com.sls | 19 +++++++++++++++++++ top.sls | 1 + 2 files changed, 20 insertions(+) create mode 100644 nginx/kyriasis_com.sls diff --git a/nginx/kyriasis_com.sls b/nginx/kyriasis_com.sls new file mode 100644 index 0000000..11b24fe --- /dev/null +++ b/nginx/kyriasis_com.sls @@ -0,0 +1,19 @@ +nginx: + ng: + servers: + managed: + kyriasis.com: + enabled: True + config: + - server: + - server_name: kyriasis.com + - 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 b3c6791..d6b7f83 100644 --- a/top.sls +++ b/top.sls @@ -1,6 +1,7 @@ base: 'theos.kyriasis.com': - nginx.base + - nginx.kyriasis_com - nginx.theos_kyriasis_com - nginx.xan_kyriasis_com - nginx.git_kyriasis_com -- cgit v1.2.3-54-g00ecf