Solved it. Turned out to be not nginx-related...by drugtrain - How to...
Hi all, I'm using nginx (1.0.5) as unix socket-based proxy for my rails app, running on unicorn. I allow my users to sign using their Facebook account through the OAuth2 protocol but for some reason I'm getting an error 500 when being redirected back to my app from facebook (Twitter via OAuth 1 works fine). Are there any known issues with nginx and the oauth2 protocol / facebok's implementationby drugtrain - How to...