Nginx reload leading to ELB 502 on AWS Elastic Load Balancer

2022-01-19 Thread gab
# Issue Summary * After executing Nginx soft reload with "service nginx reload", nginx is able to close a lot of connections gracefully, but some connections aren't closed gracefully and Nginx is sending an RST packet. For these connections, Nginx didn't send FIN packet, and it didn't send "Connec

Re: Nginx reload leading to ELB 502 on AWS Elastic Load Balancer

2022-01-19 Thread Maxim Dounin
Hello! On Wed, Jan 19, 2022 at 07:24:20AM -0500, gab wrote: > # Issue Summary > > * After executing Nginx soft reload with "service nginx reload", nginx is > able to close a lot of connections gracefully, but some connections aren't > closed gracefully and Nginx is sending an RST packet. For the

Re: Priority of cache-control, expires, x-accel-expires

2022-01-19 Thread Maxim Dounin
Hello! On Tue, Jan 18, 2022 at 09:19:09PM -0500, yugo-horie wrote: > Excuse me for refer to quite old issue, we found a different behavior > regarding their headers order in case of X-Accel-Expires which is not 0 and > Cache-Control has any of no-store, no-cache or private. > > It is very easy r