Change grafana listen to localhost

This commit is contained in:
staticsafe 2019-03-23 16:37:05 -04:00
parent e4563e9c30
commit 8c4b104f35
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,8 @@
roles:
- cloudalchemy.grafana
vars:
grafana_server:
- http_addr: "127.0.0.1"
grafana_datasources:
- name: prometheus
type: prometheus
@ -70,7 +72,7 @@
- gzip_http_version 1.1
- gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript
upstream:
- upstream grafana { server localhost:3000; keepalive 1024; }
- upstream grafana { server 127.0.0.1:3000; keepalive 1024; }
ssl:
- ssl_protocols TLSv1.2
- ssl_session_timeout 1d