standardize ws urls

also added nginx config to proxy the websocket requests