Thanks, but this is for an appliance, so a virtual machine is too big. Recompiling with "--prefix" solved the problem. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,246792,246862#msg-246862