How to use Nginx with Hugo server in production

In this post I will go through the details on how we can use Nginx as a reverse proxy to serve a site that is server by Hugo server.