diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-03-21 19:54:30 +0100 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-03-21 19:54:30 +0100 |
commit | 9c26c65afd36c83c9ca18d5b1b135da730895de3 (patch) | |
tree | 32bb302edc03196ddc202a1a098f118d161727b4 /nginx | |
parent | 5c5f1353c2e41949a9a9b6d089bdb3b37a496997 (diff) | |
download | pillar-9c26c65afd36c83c9ca18d5b1b135da730895de3.tar.xz |
Add kyriasis.com to nginx
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/kyriasis_com.sls | 19 |
1 files changed, 19 insertions, 0 deletions
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: |