How to define dynamic proxy_cache_path directory.

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


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 ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list