WebSocket connection Failed behind proxy/firewall

Hi, All
We have deployed the licode server and only use 80/443 port using nginx.
It works well.
But we are faced an issue that it does not works for users behind
proxy/firewall.

Below is log of Chrome.

eyJ0b2tlbklkIjoiNTY4OTdiM2EwNDU2ZjNhYzA4Njk2ZmQ4IiwiaG9zdCI6InZpZGVvLnB1bGxlcml0cy5jb206NDQzIiwic2VjdXJlIjp0cnVlLCJzaWduYXR1cmUiOiJOVEEwWVRGa1pESTNPRFl3Tmpaa1pHWXpPRE15TUdRNU1ESXpPREEwTm1ZM01qRmhPVFl4TkE9PSJ9
DEBUG: Requested access to local media
DEBUG: Object
INFO: User has granted access to local media.
DEBUG: Event: access-accepted
Object
DEBUG: Creating URL from stream [object MediaStream]
WebSocket connection to
‘wss://xxx.xxx.com/socket.io/1/websocket/wgK8HQSRalskDazZmLTX
http://video.pullerits.com/socket.io/1/websocket/wgK8HQSRalskDazZmLTX
failed: Error during WebSocket handshake: Unexpected response code: 502

ERROR: Cannot connect to Erizo-Controller (socket.io error) Event
ERROR: Not Connected! Error: [object Event]
DEBUG: Event: room-error

I have read a topic on


It says;
“Some proxy servers are transparent and work fine with WebSocket; others
will prevent WebSocket from working correctly, causing the connection to
fail. In some cases, additional proxy server configuration may be required,
and certain proxy servers may need to be upgraded to support WebSocket.”

Is there any solution for fix this issue?