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 进程

window nginx 启动 常用命令_第1张图片

常用命令

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

你可能感兴趣的:(nginx)