mikemintz / rethinkdb-websocket-client

RethinkDB driver monkey-patched to connect via WebSocket. Works in browser.
MIT License
140 stars 30 forks source link

Port 80 #18

Open coolcorey opened 7 years ago

coolcorey commented 7 years ago

For a while I have been trying to figure out how to proxy through nginx on port 80 for the websockets port. Some networks don't allow a webpage to use ports other than 80/443. I have tried a bunch of times to get this working. I have the rethinkdb-websocket-server running behind nginx. Does anyone have any insight?

detorresvc commented 7 years ago

@coolcorey just goto the line 6039 on this file node_modules/rethinkdb-websocket-client/dist/index.js and remove the host variable