yum install nginx

 


 

 

启动  

cd /usr/sbin/ 

./nginx

----------------------------------

命令参数

nginx -t 测试配置是否正确

nginx -s reload 加载最新配置

nginx -s stop 立即停止

nginx -s quit 优雅停止

nginx -s reopen 重新打开日志

 

相关文章:

  • 2022-12-23
  • 2021-12-03
  • 2021-07-16
猜你喜欢
  • 2021-05-31
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2021-05-07
  • 2021-06-21
  • 2021-07-01
相关资源
相似解决方案