From 57990d1649023f7d6965ce51867ddff461b6edc2 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 2 Jan 2019 20:24:55 +0100 Subject: Add grafana without ssl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/grafana_kyriasis_com.sls | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nginx/grafana_kyriasis_com.sls diff --git a/nginx/grafana_kyriasis_com.sls b/nginx/grafana_kyriasis_com.sls new file mode 100644 index 0000000..ca1f13d --- /dev/null +++ b/nginx/grafana_kyriasis_com.sls @@ -0,0 +1,19 @@ +nginx: + ng: + servers: + managed: + grafana.kyriasis.com: + enabled: True + config: + - server: + - server_name: grafana.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: -- cgit v1.2.3-70-g09d2