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