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 @ 2018-10-15 15:46  门罗的魔术师  阅读(4697)  评论(0编辑  收藏  举报