I have a production Rails application deployed on Unicorn with nginx in front for static file serving. I now need some features of Varnish and I'm wondering how to introduce it.
Some people put Varnish in front while others put nginx in front. I haven't heard of anyone using just Varnish and Unicorn, but I imagine it's valid.
Those with nginx in front seem to be doing so for gzip and SSL termination. SSL is not relevant to my application, but gzip is. Varnish is getting it soon I think, so I could live without for a little while in the interest of simplicity.
Are there any other pros/cons to either approach? Is there a canonical best practice layout for this?