diff --git a/src/cfgparse.c b/src/cfgparse.c index 2e10e3537..17b1dd036 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -7727,7 +7727,7 @@ int check_config_validity() break; } - if ((curproxy->cap & PR_CAP_FE) && LIST_ISEMPTY(&curproxy->conf.listeners)) { + if (curproxy != global.stats_fe && (curproxy->cap & PR_CAP_FE) && LIST_ISEMPTY(&curproxy->conf.listeners)) { ha_warning("config : %s '%s' has no 'bind' directive. Please declare it as a backend if this was intended.\n", proxy_type_str(curproxy), curproxy->id); err_code |= ERR_WARN;