wangyunhui

1.查看nginx状态

 $ systemctl status nginx.service

2.启动nginx

$ systemctl start nginx.service

3.停止nginx

 $ systemctl stop nginx.service

4.重载nginx

$ systemctl reload nginx.service

注意:当配置完Nginx.conf并重新启动Nginx时,需要一定的时间才会生效。

分类:

技术点:

相关文章:

  • 2021-11-04
  • 2021-11-14
  • 2021-12-28
  • 2021-10-13
  • 2021-10-13
  • 2021-10-19
  • 2021-12-20
  • 2021-10-29
猜你喜欢
  • 2021-11-30
  • 2021-09-11
  • 2021-12-07
  • 2021-10-13
  • 2021-10-13
  • 2021-10-23
  • 2021-12-13
相关资源
相似解决方案