Hello everyone,
I have a scenario where the nginx serves multiple hosts and I load the configs per host on-demand.
One of the things that I have to load on-demand is caching. For the caching purpose, right now I'm writing an extra nginx config file specifying the proxy_cache_path like:
proxy_cache_path /var/cache/nginx/example.org levels=1:2 keys_zone=example.org:5m
And after that I execute a nginx reload.
I was wondering if there is a way to specify proxy_cache_path on-demand without the nginx restart.
Thanks for the support.
Best,
Luis