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
我尝试了一下nginx会报错:nginx: [emerg] "auth_basic" directive is not allowed here in /root/nginx/conf/nginx.conf:30 配置是这样的 tcp { upstream ha { server 192.168.164.245:2255; } server { listen 2255; proxy_pass ha; auth_basic "login test"; auth_basic_user_file conf/htpasswd;...
Good afternoon. I try to use check_shm_size directive and get a fail while check a config via nginx-t **nginx: [emerg] "check_shm_size" directive is duplicate in** /etc/nginx/tcp.conf:2 nginx: configuration file /etc/nginx/nginx.conf...
I'm finding that when using SIGHUP to cause NGINX to reload it's configuration, it's failing to proxy new TCP connections for a brief period. TCP connections that are already established,...
src/http/ngx_http_upstream_round_robin.h:62:37: error: duplicate member ‘check_index’ nginx version 14.2; patch 1.14.0
The problem when building with nginx-1.14.2 `./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --add-module=/opt/nginx_tcp_proxy_module-master --modules-path=/usr/lib64/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio **--with-threads** --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module...
Hi, thanks in advance for reading this shit. application: **nginx-1.10.1.tar.gz**( download from http://nginx.org/download/nginx-1.10.1.tar.gz) **nginx_tcp_proxy_module-master**( downloaded from https://codeload.github.com/yaoweibin/nginx_tcp_proxy_module/zip/master) os: Ubuntu **issue 1**: patch failed patching file src/core/ngx_log.c Hunk #1 FAILED at...
nginx_tcp_proxy_module 版本号:./configure --add-module=nginx_tcp_proxy_module-master --with-pcre=pcre-8.42 --with-openssl=openssl-1.0.2q --with-zlib=zlib-1.2.11 --with-poll_module --prefix=/opt/bohui/nginx-1.14.2/run nginx_tcp_proxy_module-master/ngx_tcp_core_module.c nginx_tcp_proxy_module-master/ngx_tcp_core_module.c: In function ‘ngx_tcp_core_listen’: nginx_tcp_proxy_module-master/ngx_tcp_core_module.c:487:9: error: cannot convert to a pointer type if (ngx_memcmp(ls[i].sockaddr + off, u.sockaddr + off, len) !=...
Hi, Trying to follow your installation instructions and install nginx from source does not work in my case. Is it possible to use "apt-get install nginx" and after installing it...
``` /usr/local/src/nginx_tcp_proxy_module/ngx_tcp_upstream.c ``` /usr/local/src/nginx_tcp_proxy_module/ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_connect’: /usr/local/src/nginx_tcp_proxy_module/ngx_tcp_upstream.c:374: error: ‘ngx_peer_connection_t’ has no member named ‘check_index’ /usr/local/src/nginx_tcp_proxy_module/ngx_tcp_upstream.c:374: error: ‘NGX_INVALID_CHECK_INDEX’ undeclared (first use in this function) /usr/local/src/nginx_tcp_proxy_module/ngx_tcp_upstream.c:374: error: (Each undeclared identifier is...
Hello Please tell me how to put files on the nginx path Meanwhile, I do not want to change my server's nginx version. Nginx version 1.15.6