How to install Nginx on Windows

Nginx, the popular high performance web server is mostly used on Unix based systems, but, what you probably don’t know is that there is a Nginx version for Windows systems. In this how to we will cover the basic installation of Nginx in Windows.

Before we start you should know about a few issues regarding the Nginx Windows version, direct warning from the developers at nginx.org:

  • Although several workers can be started, only one of them actually does any work.

  • A worker can handle no more than 1024 simultaneous connections.

  • The cache and other modules which require shared memory support do not work on Windows Vista and later versions due to address space layout randomization being enabled in these Windows versions.

Installing Nginx in Windows

A windows console example of the installation would be this:

c:\
unzip nginx-1.3.13.zip
cd nginx-1.3.13
start nginx

The Windows version of Nginx can be managed within the console, this are some example to manage the Nginx web server on a Windows Platform:

nginx -s stop	fast shutdown
nginx -s quit	graceful shutdown
nginx -s reload	reload the configuration file
nginx -s reopen	re-opening log files

That’s all ;)

If you need more information about Nginx for Windows, you can check out this page at nginx.org.

Have you ever tried Nginx for Windows? Please let us know about your experience.

Popular search terms:

6 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>