Hello!
On Mon, Jan 20, 2014 at 9:38 PM, Makailol Charls wrote:
>
> Is there anyway to make proxy_cache_path dynamic i.e. using some variable in
> proxy_cache_path like $host ?
>
According to the current implementation in the standard Nginx core,
no, this directive does not accept nginx variables. Making it work
with nginx variables requires nontrivial modifications in the nginx
core. Because this is already a bit beyond the scope of the openresty
project, you'd better ask on the official nginx English mailing list
instead:
http://mailman.nginx.org/mailman/listinfo/nginx
Regards,
-agentzh