• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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