1、查看进程

ps -ef|grep nginx 

2、进入nginx安装目录sbin下,执行命令:

./nginx -t

 如下显示:

syntax is ok
test is successful

 

3、继续执行命令:

nginx -c /usr/local/webserver/nginx/conf/nginx.conf
nginx -s reload

相关文章:

  • 2022-12-23
  • 2021-12-24
  • 2022-01-03
  • 2021-08-31
  • 2022-12-23
猜你喜欢
  • 2021-12-07
  • 2022-12-23
  • 2021-08-29
相关资源
相似解决方案