From f169de69858bff735f6970b9bfcaa9983d6c3f9c Mon Sep 17 00:00:00 2001 From: Amir Date: Tue, 10 Oct 2017 12:00:52 +0100 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 881373d..e2253e3 100644 --- a/README.md +++ b/README.md @@ -41,4 +41,4 @@ To host this online, you'll need to set up a few things: The configurations will be loaded on Apache start-up. - Once you put the Proxypass directive there, restart your server and there you go. - This [answer on Stack Overflow](https://stackoverflow.com/questions/16979793/php-ratchet-websocket-ssl-connect) should be helpful. + This [answer on Stack Overflow](https://stackoverflow.com/a/28393526/4522890) should be helpful. From db6e504abb9c8b08799d41847229a0b83308d8ad Mon Sep 17 00:00:00 2001 From: Amir Date: Tue, 10 Oct 2017 12:13:33 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2253e3..c669531 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ To host this online, you'll need to set up a few things: - Enable mod_proxy_wstunnel.so - Open httpd.conf and add this: __ProxyPass /wss2/ ws://YOUR_SERVER_IP_OR_DOMAIN:PORT/__ - e.g. _ProxyPass /wss2/ws://www.abc.xyz:8080/_ + e.g. _ProxyPass /wss2/ ws://www.abc.xyz:8080/_ - From your front-end, you can connect like this: _const wsChat = new WebSocket("ws://YOUR_SERVER_IP_OR_DOMAIN:PORT/wss2/comm");_