you can set it in the general configuration of the server ... http { .... scgi_temp_path temp/scgi_temp; uwsgi_temp_path temp/uwsgi_temp; } tested on windows and works ... didn't test on any other platform Vladan Posted at Nginx Forum: http://forum.nginx.org/read.php?2,103927,105794#msg-105794