TCP
http://github.com/yaoweibin/nginx_tcp_proxy_module
1 2 3 4 5 6 7 8 9
| $ wget 'http://nginx.org/download/nginx-1.20.2.tar.gz' $ tar -xzvf nginx-1.20.2.tar.gz $ cd nginx-1.20.2/ $ patch -p1 < /path/to/nginx_tcp_proxy_module/tcp.patch
$ ./configure --add-module=/path/to/nginx_tcp_proxy_module
$ make $ make install
|
HTTP
http://github.com/yaoweibin/nginx_upstream_check_module
1 2 3 4 5 6 7 8 9
| $ wget 'http://nginx.org/download/nginx-1.20.2.tar.gz' $ tar -xzvf nginx-1.20.2.tar.gz $ cd nginx-1.20.2/ $ patch -p1 < /path/to/nginx_http_upstream_check_module/check_1.20.1+.patch
$ ./configure --add-module=/path/to/nginx_http_upstream_check_module
$ make $ make install
|