• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question ws to wss with Plesk & Apache

Fey

New Pleskian
Hello,

I'm trying to make a secure websocket.
When i try with ws:// it's working fine but not with wss://

I've enabled mod_proxy and mod_proxy_reverse.
Added those line to Apache https.conf
ProxyPass /wss ws://127.0.0.1:8090 retry=0 keepalive=On
ProxyPassReverse /wss ws://127.0.0.1:8090 retry=0

But still not working.

The website is using https, so FireFox won't able a connexion to ws on https (for security reasons).

Anyone have a trick to make it work ?

Fey
 
Maybe your mapping is wrong?

This could be the correct mapping:

Apache config:
ProxyPass /wss ws://127.0.0.1:8090/wss retry=0 keepalive=On
ProxyPassReverse /wss ws://127.0.0.1:8090/wss retry=0
 
Back
Top