您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

nginx在windows下的运行

2024/5/30 6:18:13发布51次查看
主要参考官方文档
nginx在windows下的启动有点特殊:
start nginx
要是在cmd下直接运行nginx会有问题(这个问题有时间再想原因)。
启动之后发现nginx有两个进程。
按照官方文档说明,其中一个是master进程,另外一个是worker进程。
文章提到,nginx在windows下以控制台程序运行,而不是服务。
其中的worker process 就是监听80端口的线程。
关于运行个停止,有如下三个命令:
nginx -s stop //fast shutdown
nginx -s quit //graceful shutdown
nginx -s reload
感觉nginx在windows下还是有很多改进的地方,有问题还是看官网吧。
').addclass('pre-numbering').hide(); $(this).addclass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadein(1700); }); }); 以上就介绍了nginx在windows下的运行,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product