Differences

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

Link to this comparison view

software:nginx [2016/01/08 21:10] (current)
Michele Porelli created
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!
Navigation
Print/export
QR Code
QR Code nginx (generated for current page)