From 9f2036de9d161d51226231635a23490ad8a35c5b Mon Sep 17 00:00:00 2001 From: Amir Date: Tue, 10 Oct 2017 12:51:36 +0100 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31f160b..0b28e0a 100644 --- a/README.md +++ b/README.md @@ -27,9 +27,10 @@ To host this online, you'll need to set up a few things: - Open httpd.conf and add this: __ProxyPass /wss2/ ws://YOUR_SERVER_IP_OR_DOMAIN:PORT/__ e.g. _ProxyPass /wss2/ ws://www.abc.xyz:8080/_ + - From your front-end, you can connect like this: - _const wsChat = new WebSocket("wss://YOUR_SERVER_IP_OR_DOMAIN:PORT/wss2/comm");_ + _const wsChat = new WebSocket("wss://YOUR_SERVER_IP_OR_DOMAIN/wss2/comm");_ However, if you are wondering how to edit httpd.conf on WHM, here is how: - After enabling those services (mod_proxy.so and mod_proxy_wstunnel.so), log in to WHM,