How to debug "HTTP request sent, awaiting response"?

Have you ever tried waiting to see what HTTP status code returns?

To debug this case, open 2 terminals: in the first, ssh to your server and type:

# tcpdump -vv -s0 tcp port 80 -w /tmp/example.pcap

(you can also append and src host <client_IP> to filter junk requests)

and in the second, use wget to browse your website, reproduce this problem and switch to the first terminal and press Ctrl+C.

Copy this .pcap file to the client and open with Wireshark to see what happens.