Hello,

as reported by Martin Brauer:
https://discourse.haproxy.org/t/config-frontend-global-has-no-bind-directive/1858

If we configure "stats timeout", but no corresponding socket, haproxy
emits a bogus warning at startup about the "frontend GLOBAL" not
having a bind directive:

global
 #stats socket run/admin.sock mode 660 level admin
 stats timeout 30s


 [WARNING] 334/150131 (23086) : config : frontend ‘GLOBAL’ has no
‘bind’ directive. Please declare it as a backend if this was intended.


This behavior can be seen since we enabled this warning in f3934b8c
("MEDIUM: config: emit a warning on a frontend without listener").
Not sure about the root cause here ...


Regards,
Lukas

Reply via email to