Skip to content

Commit f64662e

Browse files
committed
MAINT: Add forwardfor headers to haproxy
As we are using a proxy to access grafana we should include the forwardfor header so Grafana logs can see the source IP for a request
1 parent 5bc1e1e commit f64662e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grafana_monitoring/roles/haproxy/templates/haproxy.cfg.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ frontend {{ inventory_hostname }}
2222
default_backend localhost
2323

2424
backend localhost
25+
option forwardfor
2526
server grafana 127.0.0.1:3000 check

0 commit comments

Comments
 (0)