The above query is incomplete the nginx configuration.Please use the below link configuration of nginx.
http://gotechnies.com/magento2-lemp-nginx-ubuntu/