User Tools

Site Tools


software:nginx
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


software:nginx [2016/01/08 21:10] (current) – created Michele Porelli
Line 1: Line 1:
 +====== nginx ====== 
 +===== Disable fastcgi_cache ===== 
 +If you have slow root disk (e.g. USB drive) or just don't want to write on the root disk (e.g. extend SSD life) you must move away your nginx cache folder.. Or.. 
 +I got some problems with fastcgi_cache, I don't know exactly what's the origin of the issue but nginx refused to use any other folder than /var/cache/nginx on the root disk. No symlinks, no mountpoint, no fastcgi_cache_path. 
 +This is not a real solution but for personal stuffs it's a quick workaround: 
 +<code>fastcgi_max_temp_file_size 0;</code> Insert the directive above inside your apps and everything will work well!
software/nginx.txt · Last modified: 2016/01/08 21:10 by Michele Porelli