Proxy cache for php site

Jon Bennett jmbennett at gmail.com
Sun Oct 16 01:16:27 UTC 2011


Hi Appa,

> Your config has a lot of cruft, meaning a lot of bad Yoda stuff.

No doubt, any tips on cleaning up appreciated :)

> 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.

Ok, from scanning the docs, this seems about right, but nothing is
being written to the cache dir, this is where I've got to:
http://pastie.org/2703119

Thanks,

Jon

-- 
jon bennett - www.jben.net - blog.jben.net



More information about the nginx mailing list