Proxy to ejabberd

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


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:, server:, request: "POST /http-bind/ HTTP/1.1", upstream: "", host: "", referrer: ""

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:,657,657#msg-657

More information about the nginx mailing list