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

It would be nice if proxy_set_header can be supported in the configuration. I need to pass the real IP of the websocket connection to my proxy. I tried adding it...

nginx 1.10.1 --with-threads nginx_tcp_proxy_module/ngx_tcp_upstream_round_robin.c:459:16: 错误:‘ngx_event_t’没有名为‘lock’的成员 c->read->lock = c->read->own_lock; nginx_tcp_proxy_module/ngx_tcp_upstream_round_robin.c:459:32: 错误:‘ngx_event_t’没有名为‘own_lock’的成员 c->read->lock = c->read->own_lock; ^ nginx_tcp_proxy_module/ngx_tcp_upstream_round_robin.c:460:17: 错误:‘ngx_event_t’没有名为‘lock’的成员 c->write->lock = c->write->own_lock; ^ nginx_tcp_proxy_module/ngx_tcp_upstream_round_robin.c:460:34: 错误:‘ngx_event_t’没有名为‘own_lock’的成员 c->write->lock = c->write->own_lock;

/root/Desktop/nginx/nginx_tcp_proxy_module-master/ngx_tcp_core_module.c:484:9: error: cannot convert to a pointer type if (ngx_memcmp(ls[i].sockaddr + off, u.sockaddr + off, len) != 0) { ^ /root/Desktop/nginx/nginx_tcp_proxy_module-master/ngx_tcp_core_module.c:504:5: error: incompatible type for argument 2 of ‘memcpy’ ngx_memcpy(ls->sockaddr,...

``` nginx_tcp_proxy_module-0.4.5/modules/ngx_tcp_ssl_module.c: In function ‘ngx_tcp_ssl_merge_srv_conf’: nginx_tcp_proxy_module-0.4.5/modules/ngx_tcp_ssl_module.c:327:9: error: too few arguments to function ‘ngx_ssl_certificate’ if (ngx_ssl_certificate(cf, &conf->ssl, &conf->certificate, ^ In file included from src/core/ngx_core.h:80:0, from nginx_tcp_proxy_module-0.4.5/modules/ngx_tcp_ssl_module.c:3: src/event/ngx_event_openssl.h:126:11: note: declared here ngx_int_t...

I try to configure tcp with ssl, please see the following configuration: nginx.conf tcp { upstream cluster { server localhost:8883; server localhost:8884; check interval=3000 rise=2 fall=5 timeout=1000; } server {...

Hi, if you could implement the basic auth with htpasswd it would be very nice and the module complete, in my opinion. Thank you very much

status page is very userful, but it's not show upstream name in status page. ``` location /status { tcp_check_status; } ```

作者你好, 首先,太感谢你开发的tcp_proxy模块!!在使用中遇到两个问题,麻烦有空的时候给与解惑。 第一个问题. 修改 listen 端口reload后,tcp_check_status 无法查看到已经连接上活动连接,也就是Busyness 统计不正确。 a. 配置文件如下 ``` tcp { upstream xx_server { server 192.168.1.50:3005; check interval=3000 rise=2 fall=5 timeout=1000; } server { **listen 85;** proxy_pass xx_server;...

/wasHome/nginx/nginx_tcp_proxy_module-master/ngx_tcp.h:32, from /wasHome/nginx/nginx_tcp_proxy_module-master/ngx_tcp.c:5: /wasHome/nginx/nginx_tcp_proxy_module-master/ngx_tcp_upstream.h:143: 错误:expected specifier-qualifier-list before ‘ngx_resolver_addr_t’ make[1]: **\* [objs/addon/nginx_tcp_proxy_module-master/ngx_tcp.o] 错误 1 make[1]: Leaving directory `/home/op/nginx/nginx-1.6.3' make: **\* [build] 错误 2