[asterisk-users] Asterisk websocket with Nginx 502 Gateway error
Steve Ng
steveng.1988 at gmail.com
Mon Aug 4 08:25:12 CDT 2014
Hi all,
I am using the following set up:
SIPML5 --> Nginx --> Asterisk, where NGINX as a reverse proxy, main purpose
is to take in wss and route to Asterisk's ws.
However, I am facing this issue recently where Nginx will return 502
gateway error of
8018#0: *24183 upstream prematurely closed connection while reading
response header from upstream, client: 116.15.31.xxx, server:
asteriskstage.xxx.yy, request: "GET / HTTP/1.1", upstream: "
http://127.0.0.1:8088/ws", host: "asteriskstage.xxx.yy"
Anyone has any idea why?
Here's my nginx config:
http://pastebin.com/UU0G3YLh
Regards,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140804/1e6c2a2e/attachment.html>
More information about the asterisk-users
mailing list