Forum: NGINX Each website with its own fastcgi_cache_path

2974d09ac2541e892966b762aad84943?d=identicon&s=25 ddutra (Guest)
on 2013-10-11 13:36
(Received via mailing list)
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
A8108a0961c6087c43cda32c8616dcba?d=identicon&s=25 Maxim Dounin (Guest)
on 2013-10-11 16:35
(Received via mailing list)
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 Dounin
http://nginx.org/en/donation.html
2974d09ac2541e892966b762aad84943?d=identicon&s=25 ddutra (Guest)
on 2013-10-11 18:51
(Received via mailing list)
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
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.