Online Search "Nginx Configuration for Windows Services", it is easy to search to use Windows Server Warpper to configure, So according to the online method i downloaded from GitHub link 1.17 version, the front is very smooth, very easy to configure as a service, but in the start of the service when the exception. The error is roughly as follows
Nginx: [alert] could not open error log file:createfile () "E:\nginx/logs/error.log" failed (123:the filename, directory Name, or volume label syntax is incorrect)
2015/07/07 16:52:34 [Emerg] 44296#48576:createfile () "e:\nginx/conf/nginx.conf" failed (123:the filename, directory Nam E, or volume label syntax is incorrect)
Search a lot of information on the Internet, the various orders can not be changed. Just in time to give up, from the Internet under a 1.9 version, reinstall, start, everything goes smoothly. It seems that this is a version difference.
Release the version I just made below, of course you can try other versions.
Download link
Nginx configured as a pit in Windows services