That worked indeed! I used nginx-1.14.0, and it does work. Thanks a lot! On 25/06/18 13:04, Sergey Kandaurov wrote: >> On 22 Jun 2018, at 16:38, Fabrice Triboix <ftriboix@incise.co> wrote: >> >> Hi All, >> >> I am using nginx as a websocket reverse-proxy (this is working fine BTW). I would like to log the number of bytes sent (and ideally also received) over aby seekr - Nginx Mailing List - English
Thanks a lot for the suggestion. Mine is 1.4.6, which is quite old indeed. I will try again with the latest version. On 25/06/18 13:04, Sergey Kandaurov wrote: >> On 22 Jun 2018, at 16:38, Fabrice Triboix <ftriboix@incise.co> wrote: >> >> Hi All, >> >> I am using nginx as a websocket reverse-proxy (this is working fine BTW). I would like to log the number of bby seekr - Nginx Mailing List - English
Hi All, I am using nginx as a websocket reverse-proxy (this is working fine BTW). I would like to log the number of bytes sent (and ideally also received) over a websocket. If I use `$body_bytes_sent` in `log_format`, the entry in the access_log is always 0. As far as I can tell, a lot of data went through the websocket, so clearly `$body_bytes_sent` does not include data sent over a websockby seekr - Nginx Mailing List - English