启动
直接点击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 |
http://localhost
本文介绍了如何启动Nginx服务器,包括通过直接点击nginx.exe或使用CMD命令的方式,并提供了检查Nginx是否成功启动的方法。此外,还列举了常用的Nginx控制命令,如停止、重启及重新加载配置等。
3432

被折叠的 条评论
为什么被折叠?



