• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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