• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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