Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
flexd
· 15y ago · 0 comments
I 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! :)
Comments
[–]
StavrosK
15y ago
That's a good idea, but if you can run WebSockets on a different port you can just have it go straight through :p