nginx_tcp_proxy_module icon indicating copy to clipboard operation
nginx_tcp_proxy_module copied to clipboard

add the feature of tcp proxy with nginx, with health check and status monitor

Results 103 nginx_tcp_proxy_module issues
Sort by recently updated
recently updated
newest added

Make fails for nginx-1.15.0. I have followed the steps in the README for patch and add-module. The error message is: ``` In file included from src/event/ngx_event_connect.c:11:0: src/event/ngx_event_connect.h:51:38: error: duplicate member...

Is this repo actively maintained ? has it been tested for recent nginx versions. Cant seem to get it to work and ive applied the patch

由于工作时间原因,非常抱歉这个模块很久没有更新了,有没有同学愿意接手维护这个模块,我可以加maintainer或者transfer。 谢谢大家

-o objs/addon/nginx_tcp_proxy_module/ngx_tcp_session.o \ /data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c In file included from src/core/ngx_core.h:62:0, from /data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:3: /data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c: In function ‘ngx_tcp_send’: /data/tools/nginx_tcp_proxy_module/ngx_tcp_session.c:351:20: error: ‘NGX_LOG_DEBUG_TCP’ undeclared (first use in this function) ngx_log_debug1(NGX_LOG_DEBUG_TCP, wev->log, 0, "nginx tcp send:%d",...

gcc 7 failure with -Werror=implicit-fallthrough= ubuntu 18.04 gcc 7.3.0 tengine master commit 47edb23962db70fd97c5892a7f6a4cb67fda3f84 workaround: append -Wno-implicit-fallthrough to CFLAGS line in file objs/Makefile ``` cc1: all warnings being treated as errors...

不了解nginx模块开发,需要有个tcp mirror功能,发给线上旧系统,返回响应给客户端,同时发请求给新系统,响应不返回客户端。不知怎么改造实现?

What is the tcp proxy's strategy? Can it be configured?

tcp_1_8.patch already patched. tengine version v2.2.2 ``` cc -c -I/usr/local/include/luajit-2.0/ -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -DTCP_FASTOPEN=23 -DNDK_SET_VAR -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -I -I -I ./modules/ngx_debug_pool -I src/core...

how to get real client ip address by nginx tcp