[root@wx03 ~]# sh ./1.sh Wed Jul 6 19:54:40 CST 2016 <html><body><h1>504 Gateway Time-out</h1> The server didn't respond in time. </body></html> Wed Jul 6 19:55:26 CST 2016 这里是46秒对应于haproxy: timeout server maxconn 65535 timeout connect 5000 timeout client 50000 timeout server 46000