sometimes the HAProxy instance forwards the Statistics Report request to the backends instead of serving the statistics by itself.
i've tried with the following versions:
- 1.3.15.2
- 1.3.18
- 1.3.22
every installed version does the same. the first stat request usually answered by HAProxy but after some reload in the browser it'll being forwarded
the corresponding part of the configuration looks like this:
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 4096
user haproxy
group haproxy
daemon
nbproc 4
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 10000
srvtimeout 10000
stats enable
stats auth haproxy:test
backend appserver
balance roundrobin
reqidel ^X-Fowarded-For
option httpchk GET / HTTP/1.0
server appserver1 10.2.0.2:8080 weight 1 check
server appserver2 10.2.0.3:8080 weight 1 check
frontend http
bind 0.0.0.0:80
default_backend appserver
as the README says. what could be the problem with this?
thanks!