Re: Response headers adding/filtering during proxy with njs

2021-01-19 Thread Dmitry Volyntsev
On 19.01.2021 18:44, Grzegorz Kulewski wrote: Hello, Is it possible to (at least) add (or better also) filter response headers (like for example setting or modifying or deleting cookies, of course without harming other cookies set by the upstream) dynamically from njs after it is returned fr

Re: Howto Remove the Cache-Control request header.

2021-01-19 Thread Vincent Blondel
Hello Thank You for the help I made some errors in my checks and confirm it is doing the job Thank You Vincent On Sun, Jan 17, 2021 at 1:16 AM Francis Daly wrote: > On Sat, Jan 16, 2021 at 07:11:54PM +0100, Vincent Blondel wrote: > > Hi there, > > > We want nginx to remove the request header Cac

Response headers adding/filtering during proxy with njs

2021-01-19 Thread Grzegorz Kulewski
Hello, Is it possible to (at least) add (or better also) filter response headers (like for example setting or modifying or deleting cookies, of course without harming other cookies set by the upstream) dynamically from njs after it is returned from the upstream (or cache) and before it is sent

Re: nginx stuck in tight loop sometimes ( sorry for new thread )

2021-01-19 Thread Maxim Dounin
Hello! On Tue, Jan 19, 2021 at 01:33:54PM +, James Beal wrote: > > Are you able to reproduce the problem without any 3rd party > > modules? Since nginx itself does not use pipes, this looks > > like a pagespeed problem. > > Not really we use about 500mb/s of bandwidth with pagespeed > turn

re: nginx stuck in tight loop sometimes ( sorry for new thread )

2021-01-19 Thread James Beal
Sorry I was subscribed via the digest so this ended up being a new thread ( i have subscribed for each message ). Are you able to reproduce the problem without any 3rd party modules? Since nginx itself does not use pipes, this looks like a pagespeed problem. Not really we use about 500mb/s of ba

Re: nginx stuck in tight loop sometimes

2021-01-19 Thread Maxim Dounin
Hello! On Tue, Jan 19, 2021 at 12:47:11PM +, James Beal wrote: > We have quite a high volume site, we have 4 front end nginx servers, each: > * > AMD EPYC 7402P 24-Core Processor > * > INTEL SSDPELKX020T8 ( 2TB NVMe ) > * > DualĀ  Broadcom BCM57416 NetXtreme-E 10GBase-T > * > 512GB of RAM > We

nginx stuck in tight loop sometimes

2021-01-19 Thread James Beal
We have quite a high volume site, we have 4 front end nginx servers, each: * AMD EPYC 7402P 24-Core Processor * INTEL SSDPELKX020T8 ( 2TB NVMe ) * DualĀ  Broadcom BCM57416 NetXtreme-E 10GBase-T * 512GB of RAM We have a fairly complex nginx config with sharded caches as explained in https://www.ngin