<div dir="ltr">Hi all,<div><br></div><div>I am using the following set up:</div><div>SIPML5 --> Nginx --> Asterisk, where NGINX as a reverse proxy, main purpose is to take in wss and route to Asterisk's ws. <br></div>
<div><br></div><div>However, I am facing this issue recently where Nginx will return 502 gateway error of </div><div>
<p class="">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: "<a href="http://127.0.0.1:8088/ws">http://127.0.0.1:8088/ws</a>", host: "asteriskstage.xxx.yy"</p>
<p class="">Anyone has any idea why?</p><p class="">Here's my nginx config: </p><p class=""><a href="http://pastebin.com/UU0G3YLh">http://pastebin.com/UU0G3YLh</a><br></p><p class="">Regards,</p><p class="">Steve</p></div>
</div>