> Is there a way to run nginx in its new directory as though it had been > installed there directly, using either compile- or run-time options? You can use the -p switch after 'nginx' binary to change the default install time prefix (and/or -c for different path for config file). ./nginx -p /tmp/relocated/nginx http://wiki.nginx.org/CommandLine rr