I'm using nginx to serve a sinatra based project which has fairly static content..
I've tried to combine this: http://articles.slicehost.com/2008/5/27/ubuntu-hardy-nginx-rails-and-thin
with the proxying solution offered elsewhere on this site: How to set up Nginx as a caching reverse proxy?
Coming up with...
But for some reason, nothing is ever written to cache. I've made sure nginx owns the folder used for caching, and there are no errors in the error.log..
Apologies for the semi-reproduced content, but I couldn't find a good guide to combining the two.