Answer the question
In order to leave comments, you need to log in
Why is proxy_cache not being migrated from proxy_temp_path??
Hello. I set up video caching on SSD by slice 1m, but the trouble is that nginx seems to start caching and new files appear in the temp folder, but these files are in the temporary folder and are not moved to the main cache folder and, accordingly, all requests go further to HDD disks which puts a lot of pressure on. How to persuade this Nginx to send everything to the right folder and give files from it and not from the HDD.
config
Answer the question
In order to leave comments, you need to log in
Regarding proxy_cache_path and proxy_temp_path, the documentation says this:
Which of the directories will be used for temporary files is determined by the use_temp_path parameter (1.7.10). If the parameter is not set or set to “on”, then the directory specified by the proxy_temp_path directive for this location will be used. If the parameter is set to “off”, then temporary files will be located directly in the cache directory.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question