Add header to response before response is cached

2019-10-07 Thread Roger Fischer
Hello, is there a way in an NGINX HTTP Proxy to add a header to the response before it is cached? I would like to capture some information from the request and add it to the cached response, so that all clients getting the cached response receive that info. Thanks… Roger ___

Re: Doing a mass purge of the cache using a wildcard

2019-10-07 Thread Maxim Dounin
Hello! On Fri, Oct 04, 2019 at 12:25:22PM -0500, Jordan Keith wrote: > We are using nginx plus. Just to make sure you know: contacting support might be a better/faster option if you are using nginx-plus. > We have caching configured for a few endpoints, one which is similar to the > following

Re: Error 502 Bad Gateway on nginx

2019-10-07 Thread Lahiru Prasad
Hi, Does nc -l 9000 gives the same bind error ? If so, better to check netstat for :9000 sockets with all status, like netstat -anp | grep :9000 to get an idea. Regards, Lahiru Prasad. On Mon, Oct 7, 2019 at 11:38 AM mmpl wrote: > Error 502 Bad Gateway on nginx and php-fpm > Posted by: mmp