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
I have server with: ``` eth0: 10.0.0.11 eth0:1 10.0.0.12 eth0:2 10.0.0.10 ``` My proxy block is currently: ``` tcp { server { listen 10.0.0.10:12345 allow 192.168.0.81; allow 192.168.0.82; allow 192.168.0.83;...
Hi I want to connect nginx tcp websocket with LUA tcp client. When I search http://192.168.56.101:5005/ from browser, nginx access.log; 2014/04/25 10:54:17 [1912] 192.168.56.101 0.0.0.0:5005 2014/04/25 10:54:17 192.168.56.101:5005 297 0...
Hello. I can't compile nginx with this module. This is the make error: cc -c -I /home/mimiko/src/nginx-modules/ngx_http_js_module/src/ -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/GeoIP/include -I/opt/gperftools/include -I/opt/ffmpeg/include -Wno-error -DNDK_SET_VAR...
I have the proxy working now, but I have a new issue. I created a simple test proxy to an internal mysql server I have. It worked fine for the...
I am using this cool module for proxy between sql client and server. Is there any chance to make the sql connection alive but not timedout? i am trying modify...
I have an nginx configuration that needs to support multiple server names: All with HTTPS. The nginx manual suggests that the SSL directives should be centralized, and that each server...
hi~ there may be a bug in the function ngx_tcp_upstream_check_broken_connection in the file named ngx_tcp_upstream.c, ngx_int_t ngx_tcp_upstream_check_broken_connection(ngx_tcp_session_t *s) { ... ... n = recv(c->fd, buf, 1, MSG_PEEK); err = ngx_socket_errno;...
Would it be possible to get an error_log directive (other than the global) added to this module? Preferably one that operates on the server scope (or identical to the nginx...
if i wanna choose backend from some infor of websocket auth prase, for example: Host: a.xxx.com => back1 Host: b.xxx.com => back2 where can i get the 'http' header?
Can you please add an example of how to serve a static html error page when the backend is unavailable.