Javatpoint Logo
Javatpoint Logo

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:

Once the downloading is done, we can extract it to any of our folders. Here, I am using c:\nginx-1.17.0 directory.

Important locations:

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.


Installing NGINX on Windows

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.

Installing NGINX on Windows

To perform the operation on nginx, use the following command:

Command Description
nginx -s stop fast shutdown
nginx -s quit graceful shutdown
nginx -s reload changing configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes
nginx -s reopen reopening log files

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA