summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/monitoring/grafana/defaults/main.yml2
-rw-r--r--roles/monitoring/landingpage/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/monitoring/grafana/defaults/main.yml b/roles/monitoring/grafana/defaults/main.yml
index 39ea145a..c3baf8fb 100644
--- a/roles/monitoring/grafana/defaults/main.yml
+++ b/roles/monitoring/grafana/defaults/main.yml
@@ -5,7 +5,7 @@
grafana_root_url: "%(protocol)s://%(domain)s:%(http_port)s/grafana"
grafana_config_server:
- http_addr: localhost
+ http_addr: 127.0.0.1
http_port: 3000
root_url: "{{ grafana_root_url }}"
serve_from_sub_path: true
diff --git a/roles/monitoring/landingpage/tasks/main.yml b/roles/monitoring/landingpage/tasks/main.yml
index e9512700..b2e3959f 100644
--- a/roles/monitoring/landingpage/tasks/main.yml
+++ b/roles/monitoring/landingpage/tasks/main.yml
@@ -47,7 +47,7 @@
{% endif %}
{% if 'grafana' in monitoring_landingpage_services %}
'/grafana/':
- proxy_pass: "http://{{ grafana_config_server.http_addr | default('localhost') }}:{{ grafana_config_server.http_port | default(3000) }}"
+ proxy_pass: "http://{{ grafana_config_server.http_addr | default('127.0.0.1') }}:{{ grafana_config_server.http_port | default(3000) }}"
{% if 'grafana' in monitoring_landingpage_service_extra_directives %}
extra_directives: |
{{ monitoring_landingpage_service_extra_directives['grafana'] | indent(6) }}