Hello, I'm the owner of one VPS with cPanel and I have some problems implementing WebSockets under SSL(because we have Apache and we don't realy want to migrate to Nginx right now).
The problem is I need to add new lines in stunnel.conf
After research I found stunnel configuration file in /usr/local/cpanel/etc/stunnel/default/ and I added the lines.
Then then I run /usr/local/cpanel/etc/init/startstunnel with next output:
And then I run service cpanel status with next output:
The problem is I need to add new lines in stunnel.conf
Code:
[websockets]
accept = 8443
connect = 8888
Then then I run /usr/local/cpanel/etc/init/startstunnel with next output:
Code:
Waiting for (?^:^(?:stunnel$|stunnel-[0-9\.]+local)) to shutdown ... not running.
Using Native SSL support (stunnel not needed)
Code:
cpsrvd (pid 21216) is running...
entropychat is stopped
[B]stunnel is stopped[/B]