This blog assumes that you have NGINX already installed on your system. If you have…