Proxy cache for php site

Jon Bennett jmbennett at
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.
> 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:



jon bennett - -

More information about the nginx mailing list