摘要: 场景: 利用ngnix 代理mysql /ftp (所有的流式应用) config: cat /etc/nginx/nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/erro 阅读全文
posted @ 2019-11-13 23:31 lshan 阅读(1495) 评论(0) 推荐(0) 编辑
摘要: nginx1.9之后直接使用Stream配置就可以了,当然需要先安装stream模块 1.nginx 增加tcp ./configure --with-stream --with-pcre=../pcre-8.38 ./configure --with-stream --without-http_r 阅读全文
posted @ 2019-11-13 15:29 lshan 阅读(4033) 评论(0) 推荐(0) 编辑