nginx_tcp_proxy_module
nginx_tcp_proxy_module copied to clipboard
add the feature of tcp proxy with nginx, with health check and status monitor
is Tengine 2.12 centos 6.5 [root@JM-Nginx-01 nginx_tcp_proxy_module]# patch –p1 < /data/nginx_tcp_proxy_module/tcp.patch patching file –p1 Hunk #1 FAILED at 66. 1 out of 1 hunk FAILED -- saving rejects to file...
#17 66.92 -o objs/addon/parsers/http_request_parser.o \ 1693#17 66.92 modules/nginx_tcp_proxy_module/parsers/http_request_parser.c 1694#17 66.95 http_request_parser.c: In function 'http_request_parser_execute': 1695#17 66.95 http_request_parser.rl:29:5: error: this statement may fall through [-Werror=implicit-fallthrough=] 1696#17 66.95 http_request_parser.rl:31:1: note: here 1697#17...
nginx编译后放在k8s里,如何使用service name配置在server 试了下server重启后不能获取新地址,加了resolver为kube-dns.kube-system:53也不行
In file included from src/event/ngx_event_openssl.h:17:0, from src/core/ngx_core.h:84, from ../nginx_tcp_proxy_module-master//modules/ngx_tcp_ssl_module.c:3: ../nginx_tcp_proxy_module-master//modules/ngx_tcp_ssl_module.c: 在函数‘ngx_tcp_ssl_merge_srv_conf’中: ../nginx_tcp_proxy_module-master//modules/ngx_tcp_ssl_module.c:389:49: 错误:‘ngx_ssl_rsa512_key_callba ck’未声明(在此函数内第一次使用) SSL_CTX_set_tmp_rsa_callback(conf->ssl.ctx, ngx_ssl_rsa512_key_callback); ^ ../openssl-1.1.1m/.openssl/include/openssl/ssl.h:1492:62: 附注:in definition of macro ‘SSL_CTX_set_tmp _rsa_callback’ # define SSL_CTX_set_tmp_rsa_callback(ctx, cb) while(0) (cb)(NULL,...
Making with lastest version from git in nginx 1.11.4 Patching exceptions ``` → patch -p1 < nginx_tcp_proxy_module/tcp.patch patching file src/core/ngx_log.c Hunk #1 FAILED at 66. 1 out of 1 hunk...

Hi, I'm trying to create a default TCP server to send a 444 code but I'm getting this message: > nginx: [emerg] "return" directive is not allowed here in /etc/nginx/nginx.conf:48...
以前一直使用1.10.3,先在因程序需求,需要使用最新版,但始终编译报错! 请帮忙查找解决方法,谢谢! OpenSSL版本:1.0.2r /root/nginx/nginx_tcp_proxy_module/modules/ngx_tcp_ssl_module.c /root/nginx/nginx_tcp_proxy_module/modules/ngx_tcp_ssl_module.c: In function ‘ngx_tcp_ssl_merge_srv_conf’: /root/nginx/nginx_tcp_proxy_module/modules/ngx_tcp_ssl_module.c:409:31: error: passing argument 3 of ‘ngx_ssl_session_cache’ makes pointer from integer without a cast [-Werror] conf->shm_zone, conf->session_timeout) ^ In file included from...
./configure 没问题,make的时候报错,请求解决方法。  
patch失败
OS version: CentOS Linux release 7.3.1611 (Core) Tengine version: Tengine/2.1.1 (nginx/1.6.2) 下载最新版本的nginx_tcp_proxy_module 后,解压。然后下载tengine 解压。 切换到tengine解压目录,执行“patch p1 < /tmp/nginx_tcp_proxy_module-master/tcp.patch ” ``` [root@nginx1 tengine]# patch p1 < /tmp/nginx_tcp_proxy_module-master/tcp.patch patching file p1 Hunk...