diff --git a/roles/grafana/templates/vhost.j2 b/roles/grafana/templates/vhost.j2 index 2a11c10..84c9c0c 100644 --- a/roles/grafana/templates/vhost.j2 +++ b/roles/grafana/templates/vhost.j2 @@ -25,7 +25,8 @@ server { location / { client_max_body_size 1024M; - proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $remote_addr; + proxy_set_header Host $http_host; proxy_pass http://localhost:3000; } }