Closed realies closed 6 months ago
What's the recommended approach for a real setup?
Use a proper web server like apache, and configure that to meet your needs.
do you mean reverse proxying it to websockify?
Yes. Or ideally, if there is a WebSocket proxy that is more production ready than websockify. I'm afraid I'm not aware of any, though. :/
What we do here is take the core WebSocket code from websockify and integrate it in to our own web server code that has the features we need.
Websockify bundles an extremely simple web server for testing purposes, we probably won't add more features to it. It isn't intended for production environments and is not recommended for anyone to use in a real setup.