Just to go quickly, you can follow below step to configure Nginx virtual-host configuration.

We will go

$ cd /etc/nginx/sites-available/
$ sudo mv default default-backup
$ sudo nano default

Copy and paste below:

server {
	listen 80 default_server;
	listen [::]:80 default_server;

	root /var/www/html;
	index index.php index.htm index.html;
	server_name _;        
       
	location / {
		try_files $uri $uri/ /index.php?q=$request_uri;
	}

	location ~ \.php$ {
		include snippets/fastcgi-php.conf;
		fastcgi_pass unix:/run/php/php7.0-fpm.sock;
	}
}

Save and exit.

Restart php7.0-fpm and nginx.

$ sudo service php7.0-fpm restart && sudo service nginx restart

Now, you should be ready to install wordpress.