HAProxy 1.7 Statistics Setup
You're correct about older versions. Binding to a port on the line where the proxy (frontend
or listen
) declaration begins has not been valid since it was removed in HAProxy 1.5.
This is the correct form:
listen stats
bind :9000
Note that you are already doing this in your frontend
declarations. A listen
is essentially a combined frontend and backend.