NJS FastCGI Response Filtering

2022-02-16 Thread Lance Dockins
Is there a good way to reliably filter the response body from a FastCGI script via NJS?  I’ve done this with Lua before but NJS seems to be a bit different in terms of how the response body process works.  The end goal is basically that we just have a way to grab the text back from a FastCGI/PHP

Re: NGINX load balancing - Proxy

2022-02-16 Thread Carlos Renato
Hi Francis, thanks you! Em ter., 15 de fev. de 2022 às 13:49, Francis Daly escreveu: > On Tue, Feb 15, 2022 at 12:31:06PM -0300, Carlos Renato wrote: > > Hi there, > > > This what I get when trying to start NGINX with the simplified file. > > > > [root@proxy conf.d]# cat webgateway.conf > > upst

Re: help: proxy to https is working websockets is not!

2022-02-16 Thread Francis Daly
On Tue, Feb 15, 2022 at 08:56:18PM -0500, mevan wrote: Hi there, > WebSocket connection to 'wss://erx.asdf.com/ws/stats' failed: > edge.min.js:3210 > > How can I get this last part working? Does the description at https://nginx.org/en/docs/http/websocket.html or https://www.nginx.com/blog/