3 ms·
I see, thanks. Since nginx would proxy gunicorn anyway, I don't think it would be any different, though, would it... It sounds like a good solution, I'll go wit
by StavrosK 16y ago
I see, thanks. Since nginx would proxy gunicorn anyway, I don't think it would be any different, though, would it... It sounds like a good solution, I'll go with that, thanks.
- flexd 16y agoI don't know how websockets works with varnish though, but you could run varnish on port 80, nginx on 81 and have the websockets hit :81 to get proxied through nginx I guess, you would still get good caching of normal content through varnish! :)
- StavrosK 16y agoThat's a good idea, but if you can run WebSockets on a different port you can just have it go straight through :p
- flexd 16y agoFor some reason I can't respond to your other post, but yeah that makes sense too. Let me know what you end up doing, would be nice to discuss it more :-) I'm on irc a few places (freenode and efnet mostly) if you want.
- StavrosK 16y agoIf you can't respond to a post, just click "link" and it'll let you. As for the final setup, it I'll definitely write it up and post it here :)