2017年10月13日

nginx socket转发设置

摘要: 1.添加依赖模块,如下 2.nginx.conf 配置,参考说明:ngx_stream_core_module 请注意,stream配置不能放到http内,即不能放到/etc/nginx/conf.d/,因为stream是通过tcp层转发,而不是http转发。 如配置在http内,启动nginx会报 阅读全文

posted @ 2017-10-13 22:10 vijayfly 阅读(5113) 评论(0) 推荐(0) 编辑

导航