nginx对tcp负载转发

miwaiwai / 2024-10-09 / 原文

1.nginx-1.24.0,pcre-8.45.zip

2.先编译安装pcre

3.再安装nginx-1.24.0

  

./configure --with-stream

make
make install

4.修改文件描述符为65535

* soft nofile 65535
* hard nofile 65535