GA黄金甲

nginx怎么关闭下令

nginx 关闭要领:1) 使用 systemctl:sudo systemctl stop nginx;2) 使用 service:sudo service nginx stop;3) 使用 supervisorctl:sudo supervisorctl stop nginx;4) 手动关闭:nginx -s quit。

怎样关闭 Nginx

Nginx 是一种盛行的 Web 效劳器,可以通过以下办法关闭:

要领 1:使用 systemd

sudo systemctl stop nginx

登录后复制

要领 2:使用 init.d

sudo service nginx stop

登录后复制

要领 3:使用 Supervisor

sudo supervisorctl stop nginx

登录后复制

要领 4:手动关闭

若是上述要领不起作用,可以使用以下下令:

nginx -s quit

登录后复制

注重:在 CentOS 7 中,Nginx 可能没有 systemd 效劳文件。在这种情形下,请使用 init.d 要领。

以上就是nginx怎么关闭下令的详细内容,更多请关注本网内其它相关文章!

免责说明:以上展示内容泉源于相助媒体、企业机构、网友提供或网络网络整理,版权争议与本站无关,文章涉及看法与看法不代表GA黄金甲滤油机网官方态度,请读者仅做参考。本文接待转载,转载请说明来由。若您以为本文侵占了您的版权信息,或您发明该内容有任何涉及有违公德、冒犯执法等违法信息,请您连忙联系GA黄金甲实时修正或删除。

相关新闻

联系GA黄金甲

18523999891

可微信在线咨询

事情时间:周一至周五,9:30-18:30,节沐日休息

QR code
【网站地图】【sitemap】