1、概述
ngx_stream_core_module
モジュール支持体はnginx1.90後に開始します。TCPは--with-stream_ssl_module --with-ストリーム=ダイナミックnginxのプロキシのサポートを開きます。
2は、configure nginxの
load_module " /usr/lib64/nginx/modules/ngx_stream_module.so " 。 イベント{ ファイルディスクリプタを使用します。 } ストリーム{ 上流apiserver { サーバー10.3。7.14:8443 ;#代理アクセスアドレス サーバー10.3。7.14:6443 ; #realserverのIP:ポート サーバー10.3。7.5:6443 。#realserverのIP:ポート
}
サーバー{
聞く8443を。
proxy_passのapiserver。
}
}
3、http://nginx.org/en/docs/stream/ngx_stream_core_module.html