On 16 Out 2011 00h40 WEST, jmbennett@gmail.com wrote:
> Hi,
>
> I'm trying to implement this style of proxy_cache config
> http://fennb.com/microcaching-speed-your-app-up-250x-with-no-n as a
> test locally, to stick in front of php sites.
>
> This is what I have: http://pastie.org/2703119
Your config has a lot of cruft, meaning a lot of bad Yoda stuff.
But the main issue is that you're proxying to fastcgi not to another
HTTP server, hence the cache to be used is fastcgi cache, not proxy
cache.
http://wiki.nginx.org/HttpFcgiModule#fastcgi_cache
Which apart from a few options has basically the same directives with
proxy replaced by fastcgi.
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx