Name Last Update
..
conf Loading commit data...
contrib Loading commit data...
docs Loading commit data...
openssl Loading commit data...
Process.exe Loading commit data...
RunHiddenConsole.exe Loading commit data...
WindowsServiceView.exe Loading commit data...
installService.bat Loading commit data...
instsrv.exe Loading commit data...
nginx.exe Loading commit data...
nginx.reg Loading commit data...
readme.txt Loading commit data...
restart-nginx.bat Loading commit data...
srvany.exe Loading commit data...
start-nginx.bat Loading commit data...
start-php.bat Loading commit data...
start-php5.3.29.bat Loading commit data...
stop-nginx.bat Loading commit data...
English:
1.unzip to c:\nginx\
2.installservie.bat =>install nginx service
3.start-nginx.bat=>start nginx service
  stop-nginx.bat=>stop nginx service
4.remove nginx service => WindowsServiceView.exe



中文说明:
解压缩到c:\nginx\下
1.installservice.bat是安装nginx服务脚本,与些有关的文件是instsrv.exe, nginx.reg, srvany.exe

2.启动, 停止, 重启脚本分别是start-nginx.bat, stop-nginx.bat, restart-nginx.bat, 与这有关的文件是process.exe

3.删除nginx服务: 使用Windows服务查看工具删除, 
再看一下注册表里HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NGINX\Parameters下的nginx项

4.以这种服务方式运行nginx后,在0.7.52版本中(其它没试):平滑地让新配置文件生效的方式(即不用关掉nginx,再打开)
nginx -s reload, 似乎没作用了error.log里报OpenEvent("ngx_reload_5756") failed (2: 系统找不到指定的文件。)
那就只能重启了。

其实有许多软件可以实现这种让程序以服务方式运行的功能, 但免费的我没有找到.
FireDaemon Pro
AlwaysUp
Application as Service