Proxy to ejabberd

whoahbot nginx-forum at nginx.us
Tue Mar 31 10:35:57 MSD 2009


Hello!

I'm having difficulty getting nginx 0.6.32 to proxy to an ejabberd server using a BOSH connection.

Each time I connect, I get this error in the logs:

2009/03/31 06:28:48  27059#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 67.189.35.116, server: ship.whoahbot.com, request: "POST /http-bind/ HTTP/1.1", upstream: "http://127.0.0.1:5280/http-bind/", host: "ship.whoahbot.com", referrer: "http://ship.whoahbot.com/"

Here is my nginx.conf:
Gist - nginx.conf

Am I missing a configuration directive needed to make this work?

Thanks for any help you can give.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,657,657#msg-657






More information about the nginx mailing list