nginx学习1

命令:

1.启动:

start nginx

2.查看进程

到nigx 根目录下执行 

tasklist /fi "imagename eq nginx.exe"

如我:

日志位置(以我的为例):D:\nginx-1.14.0\logs

一个是主进程,一个是工作进程

4.nginx/Windows runs as a standard console application (not a service), and it can be managed using the following commands:

控制台应用程序(不是服务),可以使用命令行操作

nginx -s stopfast shutdown 快速停止
nginx -s quitgraceful shutdown 完整关闭
nginx -s reloadchanging configuration, starting new worker processes with a new configuration, graceful shutdown of old worker processes   更改配置,使用新配置启动新工作进程,正常关闭旧工作进程
nginx -s reopenre-opening log files  重新打开日志文件
  
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值