404 then upstream timeout

Dave Cheney dave at cheney.net
Fri Mar 7 08:57:15 MSK 2008


Can you sniff the traffic between nginx and varnish with ngrep ? What  
does it indicate ?

Cheers

Dave

On 07/03/2008, at 1:53 PM, Eden Li wrote:

>
> When I POST to a specific URL with invalid parameters, I want the  
> call to return a 404.
>
> However, nginx returns 504 after a 60ish second timeout.
>
> I notice in my logs that $upstream_status is returning 2 values  
> "404 : 504".
> $upstream_response_time is "0.026 : 60.000"
>
> If I hit varnish directly, the call returns immediately with the  
> proper 404 response.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080307/a158be0c/attachment.html>


More information about the nginx mailing list