How to define dynamic proxy_cache_path directory.

Makailol Charls makailol7 at gmail.com
Mon Jan 20 08:44:26 UTC 2014


Hello,

I use Nginx/1.4.4 as a reverse proxy caching server for multiple sites. So
far I have been using same proxy_cache_path for all sites. Now I want to
use separate cache path for all sites.

Is there anyway to make proxy_cache_path dynamic i.e. using some variable
in proxy_cache_path like $host ?

Thanks,
Makailol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140120/2f9d85ae/attachment-0001.html>


More information about the nginx mailing list