Dear Javad. After 5 days of coding I found totally solution. Use nginx proxy, not apache. It work fine for me
location /echobot/ {
proxy_pass http://echobot:8090;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
I have same problem!
Try to connect from client side to wss://example.com/ws
And want to proxy connection to ws// , because my server side is non secure
My apache additional dirrectives:
SSLProxyEngine On
RewriteEngine on
ProxyRequests Off
ProxyPreserveHost on
ProxyPass /ws/...