Re: Need some guidance for setting upstream logs in NGINX TCP Load Balancer

2021-07-20 Thread Maxim Dounin
Hello! On Tue, Jul 20, 2021 at 02:05:41PM +0530, awani227 wrote: [...] > stream { > >     log_format  timed_combined  '$remote_addr - [$time_local] > $session_time $msec $status $protocol ua="$upstream_addr" > "$upstream_connect_time" "$upstream_response_time"'; [...] > I'm able to establis

Embedded variables from ngx_http_core_module and websocket connections

2021-07-20 Thread Dorin RuV
Hi everybody, I'm currently having an issue with nginx which I cannot get to the bottom of. I'm using nginx as a reverse proxy/load balancer in front of Kubernetes. I'm trying to set up Websocket connections with an app running in Kubernetes, but there are some problems. I have followed the "more

Need some guidance for setting upstream logs in NGINX TCP Load Balancer

2021-07-20 Thread awani227
Hi, I'm using 'nginx/1.21.1' for load balancing TCP connection for DBs like Teradata, Netezza, Oracle and MySQL. I'm using stream directive for it as per the guidance 'https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/' .  Following is my stream configuration  (