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 on 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 from any of our folders. Here, I am using the 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 then 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 operate for nginx, use the following command: