Re: Monitor active connections per proxy pass

2018-12-07 Thread lahiru
Hi, Currently we are using upstream check module to check the health of each upstream. I want to know whether there's a module to get the number of active connections per proxy pass. /abc --- how many active connections /xyz --- how many active connections Regards, Lahiru Prasad. Posted at Nginx

Re: Re: Can Nginx only cache reponse body while excluding some response headers?

2018-12-07 Thread Francis Daly
On Sat, Dec 08, 2018 at 06:40:52AM +0800, yf chu wrote: Hi there, > A request is sent from client to nginx, if it did not hit the cache, I hope > nginx only caches the response body returned by upstream and send the headers > and response body returned by upstream to client. > If the request hi

Re:Re: Can Nginx only cache reponse body while excluding some response headers?

2018-12-07 Thread yf chu
A request is sent from client to nginx, if it did not hit the cache, I hope nginx only caches the response body returned by upstream and send the headers and response body returned by upstream to client. If the request hit the cache, I hope nginx can generate new headers and send them with the c

Re: Can Nginx only cache reponse body while excluding some response headers?

2018-12-07 Thread Francis Daly
On Sun, Dec 02, 2018 at 06:29:33PM +0800, yf chu wrote: Hi there, > We all know that the cache feature in Nginx will cache all response content > generated by upstream server. But I wonder whether there is a solution that > only the response body is cached by Nginx while some response headers s

Re: Possible to use nginx as a proxy (like Squid)?

2018-12-07 Thread Francis Daly
On Thu, Dec 06, 2018 at 06:09:40AM -0500, dxxvi wrote: Hi there, > Is it possible to use nginx as a proxy like Squid, of course without all the > access control lists, without protocols which are not http nor https? I'd say "no". squid is a proxy server. nginx is (among other things) a reverse