• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff 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