I have a Node.js app which is heavily reliant on websockets. I want to redirect anyone trying to access it via http (80) to https (443). I would use nginx however it does not play well with websockets. No other service needs to run on the server.
What is the best way to do this redirect?