Joe Van Dyk <[email protected]> wrote:
> Narrowed this down a little bit more.
> 
> Nginx is receiving a HEAD request, unicorn is logging a GET.
> Somewhere along the chain, the http method is getting mangled.

That's not good.  I'm pretty sure all versions of nginx send HEAD
requests as-is to Unicorn, so something in your Rack middleware stack is
rewriting HEAD => GET.

You can strace  a Unicorn worker to confirm it receives a HEAD and not a
GET at the socket level.  Do it on a server that's not receiving any
other traffic and use one worker process so you're always stracing the
correct worker process.

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying

Reply via email to