Re: How to log the number of bytes sent over a websocket?

2018-06-26 Thread Fabrice Triboix
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 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

Re: How to log the number of bytes sent over a websocket?

2018-06-25 Thread Fabrice Triboix
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 wrote: Hi All, I am using nginx as a websocket reverse-proxy (this is working fine BTW

How to log the number of bytes sent over a websocket?

2018-06-22 Thread Fabrice Triboix
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 dat

Re: Help! 503 Service Temporarily Unavailable when trying to reverse-proxy wordpress

2017-06-27 Thread Fabrice Triboix
wordpress database, re-installed it by accessing the server using the host name, and voila! Everything works perfectly now! On 27/06/17 09:51, Fabrice Triboix wrote: Hi Francis, You are right, most links in the wordpress html start with "http://92.222.75.87/..."; so that's the

Re: Help! 503 Service Temporarily Unavailable when trying to reverse-proxy wordpress

2017-06-27 Thread Fabrice Triboix
Hi Francis, You are right, most links in the wordpress html start with "http://92.222.75.87/..."; so that's the problem. I'll try to get that fixed. Many thanks for your help! Fabrice On 27/06/17 00:16, Francis Daly wrote: On Mon, Jun 26, 2017 at 06:24:50PM +0100, F

Re: Help! 503 Service Temporarily Unavailable when trying to reverse-proxy wordpress

2017-06-26 Thread Fabrice Triboix
all meant to allow servicing different domains on the same IP address? Thank you so much for your help! Fabrice On 26/06/17 17:26, Francis Daly wrote: On Mon, Jun 26, 2017 at 12:37:46PM +0100, Fabrice Triboix wrote: Hi there, The problem I am having is that when accessing the home page

Help! 503 Service Temporarily Unavailable when trying to reverse-proxy wordpress

2017-06-26 Thread Fabrice Triboix
Hello, I am trying to use nginx to reverse-proxy a wordpress website. The wordpress website works fine when being accessed without nginx in the middle. The problem I am having is that when accessing the home page (which is about 50k of html alone), nginx responds with "503 Service Temporaril