Connecting to a WebSocket server via WebSocket Secure connection (wss://) on a Plesk based host.
As I'm going to have only one NodeJS, I prefer a subdomain: sockets.example.com
If you will have several NodeJS Apps you may want something like example.com/socket1
, example.com/socket2
, ...
As I will only use NodeJS on that subdomain, and I will redirect all traffic to NodeJS, it is safe to disable PHP