Websockets. FastCGI or WSGI. SSL. Same domain. How?
问题 Question I've built an app in two parts: a low-overhead server which listens for long-polling and websocket connections using Socket.IO and a regular WSGI-compatible Python webapp. The former would be bound to the path /socket.io/ and the latter to every other path. Additionally, files in /static/ can be served directly from the filesystem and with far-future expiration headers. I figured it would easy to put a proxy in front of the two services which would serve the whole site via SSL, but I