Auto Start Nginx on Windows

To auto start Nginx on Windows, download

http://nssm.cc/download

Extract the file, you will find “nssm.exe” file for 32 and 64 bit windows. Copy the file for your Windows version to a folder like

C:\utils\nssm.exe

Start a command promt as user Administrator, then to go the folder where nssm.exe is, then run

In the GUI select the nginx.exe path, click install service.

Now in Service Manager, you will see new service Nginx, that is set to autostart by default.

You can right click service name and select start.

See Windows Nginx

Leave a Reply

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