It is not quite clear to me where a lot of the instructions are to be placed. I have successfully set up nginx as a front end proxy but where do I add all your directives?
I host multiple vhosts, have multiple vhost files and am unsure where to put all these directives.
I can put them into the server or into the location blocs, and I have multiple location blocs, one for static content that gets served by nginx and one for dynamic content that gets proxied through to apache2.
so where do I add these caching directives?
I can give you my nginx config files if needed...