diff options
Diffstat (limited to 'nginx')
-rw-r--r-- | nginx/grafana_kyriasis_com.sls | 19 |
1 files changed, 19 insertions, 0 deletions
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: |