1)、下載地址:http://ng-srvinst.attron.org/ :nginx
連接彷佛失效了ide
2)、修改ng_srv.xml文件內容:工具
<service> ui
<id>nginx</id> spa
<name>nginx</name> xml
<description>nginx</description> blog
<executable>D:\BALANCE_TOMCAT__NGINX\nginx-1.6.0\nginx.exe</executable> ip
<logpath>D:\BALANCE_TOMCAT__NGINX\nginx-1.6.0\logs\</logpath> ci
<logmode>roll</logmode> get
<depend></depend>
<startargument>-p D:\BALANCE_TOMCAT__NGINX\nginx-1.6.0</startargument>
<stopargument>-p D:\BALANCE_TOMCAT__NGINX\nginx-1.6.0 -s stop</stopargument>
</service>
-p 後面是Nginx目錄,若是寫成nginx.exe路徑就錯了,會形成nginx 服務沒法啓動。
或工具下載地址:
http://pan.baidu.com/s/1hqmUZR2
srvanyui.exe