Need to make a WebSocket over SSL i. WSS.
It was possible to start the server on the site without a certificate, the test chat works (the Ratchet library), but I do the same on the site where the certificate is located, of course it does not establish a connection.
As I understand it is necessary to make a proxy through Nginx (installed), through which the connection will pass.
I have a VDS server with ISP Manager installed
How to write configs?
Here, the answer seems to be similar to what is needed, but where can I get http {} to insert I don’t have it ...
Again, it is not clear, there are no clear / understandable answers at all ...
Please help is very necessary ...