I looked at an example here: http://wiki.nginx.org/Upstart
Then tested - it works.