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:
http://forum.nginx.org/read.php?2,243622,243622#msg-243622

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:
http://forum.nginx.org/read.php?2,243622,243627#msg-243627

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs