nginx create directories

Jérôme Loyet jerome at
Mon Jun 8 19:51:32 MSD 2009

Hi igor, I have 2 questions:

1- is there a way to disable the creation of directories if they don't
exist (like fastcgi_temp or client_body_temp) and pop-up en emergency
message instead ? I don't want nginx to create top directories without
notify me. I prefer having an error and correct it myself than having
a directory created without knowing it presence.

2- I have fastcgi module compiled in nginx so I have to have the
fastcgi_temp directory present on my system even if I don't use
fastcgi at all. Is it possible to make it disable somehow ? (I can't
simply remove fastcgi module at compile time because it's a mutualized
server and some instances need fastcgi and others don't.

Thx igor
++ jerome

More information about the nginx mailing list