nginx is installed into /usr/local/nginx and it needs to write to there (temp files, error log). It seems that the other tests use sudo to run nginx, I just copied them.