Re: $bytes_received variable not working

2020-01-08 Thread Sergey A. Osokin
Hi there, hope you're doing well. The $bytes_received embedded variable is a part of ngx_stream_core_module, please see the following link for details, http://nginx.org/en/docs/stream/ngx_stream_core_module.html#var_bytes_received My guess is the mentioned log_format directive was defined outsid

$bytes_received variable not working

2020-01-08 Thread junly
My nginx is compiled and installed, and the version installed is Nginx version: nginx / 1.14.0 The parameters for compilation are: Configure the arguments:--prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-lo

using nginx open source to tunnel https requests to backend set

2020-01-08 Thread Brendan Doyle
Hi, So I want to use nginx open source as a load balancer to forward https requests to a backend set where the TLS is terminated by the application on the backend servers. i.e I want to tunnel the TLS traffic. And I'm wondering about the best approach. What I'm thinking is that I use the str