Installing NGINX on Windows
Nginx comes with pre-compiled binaries for windows which make it extremely easy to get started. If it did not come pre-compiled, we would need to have a compiler installed in our computer with a full environment. Fortunately, this is not the case.
To download the latest version of Nginx for Windows, use the following link:https://nginx.org/en/download.html
Once the downloading is done, we can extract it to any of our folders. Here, I am using c:\nginx-1.17.0 directory.
Verify Nginx Windows Installation
To make sure that the Nginx is working properly, or installed successfully, open the command prompt on windows and the type the following, make sure that you update the environment path if you have installed in another folder.
We should be able to go to http://localhost, and we should see the "Welcome to Nginx" default page. If we see that page, then we can be sure that Nginx has been installed properly.
To perform the operation on nginx, use the following command: