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 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
- Download Nginx from http://nginx.org/en/download.html
- Unpack the file, go to the nginx created directory and then run nginx.
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 stopfast shutdown nginx -s quitgraceful shutdown nginx -s reloadreload the configuration file nginx -s reopenre-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:
- nginx windows
- nginx on windows
- nginx for windows
- install nginx windows