<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Can you sniff the traffic between nginx and varnish with ngrep ? What does it indicate ?<div><br class="webkit-block-placeholder"></div><div>Cheers</div><div><br class="webkit-block-placeholder"></div><div>Dave</div><div><br><div><div>On 07/03/2008, at 1:53 PM, Eden Li wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-size: 10px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><br>When I POST to a specific URL with invalid parameters, I want the call to return a 404.<br><br>However, nginx returns 504 after a 60ish second timeout.<br><br>I notice in my logs that $upstream_status is returning 2 values "404 : 504".<br>$upstream_response_time is "0.026 : 60.000"<br><br>If I hit varnish directly, the call returns immediately with the proper 404 response.</span></blockquote></div><br></div></body></html>