nginx默认安装的时候没有加载stream模块

需要重新对源文件进行编译、安装,通过添加--with-stream参数指定安装stream模块

./configure --with-stream

make & make install

再次检查nginx.conf配置文件,确认配置无语法错误后,再次尝试启动服务。

nginx -t 检查配置文件是否正确

nginx -c 指定启动的配置文件

相关文章:

  • 2022-12-23
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
猜你喜欢
  • 2021-08-12
  • 2021-09-21
  • 2022-12-23
  • 2021-07-05
  • 2021-05-11
  • 2021-07-17
相关资源
相似解决方案