Each website with its own fastcgi_cache_path

Hello guys,

I would like to know if it is possible to have multiple
fastcgi_cache_path /
keys_zone.

If I host multiple websites and all share the same keys_zone, it becomes
a
problem if I have to purge the cache. I cannot purge it for a single
website, only for all of them.

This is more out of curiosity than a real problem.

Best regards.

Posted at Nginx Forum:

Hello!

On Fri, Oct 11, 2013 at 07:35:56AM -0400, ddutra wrote:

I would like to know if it is possible to have multiple fastcgi_cache_path /
keys_zone.

Yes, it is possible. And that’s actually why the fastcgi_cache
directive needs zone name as a parameter.


Maxim D.
http://nginx.org/en/donation.html

Maxim
Thanks for your time.

It really works. Thanks alot!

Posted at Nginx Forum: