window下nginx的常用命令

window nginx 启动 常用命令

分类:

启动

直接点击Nginx目录下的nginx.exe    或者    cmd运行start nginx

查看nginx是否启动

     1)命令方式   tasklist /fi "imagename eq nginx.exe"

Image Name           PID Session Name     Session#    Mem Usage
=============== ======== ============== ========== ============
nginx.exe            652 Console                 0      2 780 K
nginx.exe           1332 Console                 0      3 112 K
   2)查看windows 进程

常用命令

 

nginx -s stop fast shutdown
nginx -s quit graceful shutdown
nginx -s reload changing configuration,starting new worker processes with a new configuration,graceful shutdown of old worker processes
nginx -s reopen re-opening log files

url 访问 http://localhost

posted @ 2016-09-05 21:18  yangboom  阅读(2228)  评论(0编辑  收藏  举报
TOP