Browse Source

Update README.md

pull/14/merge
Amir 8 years ago committed by GitHub
parent
commit
9f2036de9d
  1. 3
      README.md

3
README.md

@ -27,9 +27,10 @@ To host this online, you'll need to set up a few things: @@ -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,

Loading…
Cancel
Save