If you want to learn how to use Nginx I will suggest you can find a lot of good docs and tutorials in Google, this forum is not the proper place for it.
Now, answering your question, just modify this file: /etc/nginx/common/wpcommon.conf
Regards.
PayPal · GitHub Sponsors · Bitcoin
It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.