AWS + ECS Docker NodeJS 20 + nGinx Docker Sidecar

2024-03-13 Thread Craig Hoover
We have a pretty hard-hitting API application in NodeJS that is deployed in AWS ECS using nGinx as a sidecar container to proxy to the NodeJS services. We have some odd issues that occur where the NodeJS application reports millisecond processing times up to res.send() but occasionally, the browse

Re: AWS + ECS Docker NodeJS 20 + nGinx Docker Sidecar

2024-03-13 Thread Sergey A. Osokin
Hi Graig, On Wed, Mar 13, 2024 at 03:05:00PM -0400, Craig Hoover wrote: > We have a pretty hard-hitting API application in NodeJS that is deployed in > AWS ECS using nGinx as a sidecar container to proxy to the NodeJS services. > > We have some odd issues that occur where the NodeJS application r

Re: missing something with auth_jwt_key_request

2024-03-13 Thread Sergey A. Osokin
Hi Christopher, please correct me if I'm wrong here, but the question is related to NGINX Plus and OIDC implementation. On Mon, Mar 11, 2024 at 08:09:53PM -0700, Christopher Paul wrote: > Hi NGINX-users, > > I am running nginx version: nginx/1.25.3 (nginx-plus-r31-p1 on Rocky 9.3 in > a lab, try

Re: Query on diff between nginx 1.18 and nginx 1.20+

2024-03-13 Thread Sergey A. Osokin
Hi Vishwas, thanks for the report. On Tue, Mar 12, 2024 at 11:16:46AM +0530, Vishwas Bm wrote: > > We were using the tool from *https://github.com/fstab/h2c > *and seeing change in behaviour between 1.18 > and 1.20+ wrt client_header_timeout configuration. [...]

Re: nginx can't implement session stickiness with nodeport services, must be clusterip?

2024-03-13 Thread Sergey A. Osokin
Hi David, On Fri, Mar 08, 2024 at 11:18:10AM -0800, David Karr wrote: > I maintain the Java side of a platform that supports a couple of hundred > services running in a number of k8s clusters. Each pod has a container > running the Java process, and a container running nginx, as a proxy to the >

Re: Query on diff between nginx 1.18 and nginx 1.20+

2024-03-13 Thread Vishwas Bm
Hi Sergey, Thanks for the reply. We see the same behaviour with nginx 1.24 and connection breaks because of client_header_timeout. Can you provide more information on keepalive_timeout and client_header_timeout. When does these two timers get triggered. If you can brief explanation with respect