有问题的
[root@node3 ~]# haproxy -c -f /etc/haproxy/haproxy.cfg [WARNING] 319/112603 (21194) : config : missing timeouts for frontend 'all_http'. | While not properly invalid, you will certainly encounter various problems | with such a configuration. To fix this, please ensure that all following | timeouts are set to a non-zero value: 'client', 'connect', 'server'.[WARNING] 319/112603 (21194) : config : missing timeouts for backend 'xxx'. | While not properly invalid, you will certainly encounter various problems | with such a configuration. To fix this, please ensure that all following | timeouts are set to a non-zero value: 'client', 'connect', 'server'.[WARNING] 319/112603 (21194) : config : missing timeouts for backend 'xxxxx'. | While not properly invalid, you will certainly encounter various problems | with such a configuration. To fix this, please ensure that all following | timeouts are set to a non-zero value: 'client', 'connect', 'server'.
没问题的
[root@node3 ~]# haproxy -c -f /etc/haproxy/haproxy.cfg Configuration file is valid