Option "use_temp_path=off" of the directive "proxy_cache_path"
Hello,
It is said that the option "use_temp_path=off" of the directive "proxy_cache_path" found at the first line of the file "/etc/nginx/conf.d/users/myuser.conf" may improve performance. If this is the case, and if the default value of the option "use_temp_path" is ON, how can I set it to OFF so in case the file "/etc/nginx/conf.d/users/myuser.conf" is regenerated, it always has the first line as follows?
proxy_cache_path /var/cache/ea-nginx/proxy/myuser levels=1:2 keys_zone=myuser:10m inactive=7d max_size=10g use_temp_path=off;
I have tried to declare that option into the file "/etc/nginx/ea-nginx/cache.json", but it didn't work upon regenerating the configuration file mentioned above.
-
Hey there! Currently we don't offer such an option. Our developers are looking into adding this as part of case ZC-10966 and I'll add your comments to that case so they can see those!
0
Please sign in to leave a comment.
Comments
1 comment