Stunnl to Varnish to Nginx with websockets

Benjamin Adams benjamindadams at
Thu Oct 18 18:11:02 CEST 2012


I'm trying to setup websockets with varnish to a python tornadojs server.
on connection I just have:
"Request URL: wss://......."
then nothing else.

Next like should be Request : Get
Then "101 Switch"

Network setup:
Stunnel: 8443 -> Varnish(80)
Varnish -> Nginx (8080)
Varish -> Tornadojs (87) Websocket

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcl_ex.vcl
Type: application/octet-stream
Size: 2865 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list