Re: SSL Handshake Failure with error:1407609B:SSL in error logs

2018-07-06 Thread Frank Liu
Since your backend is already doing ssl, you should remove ssl from the listen, so that nginx will just do a simple TCP pass through: Change listen 443 ssl; to listen 443; On Wed, Jul 4, 2018 at 12:31 AM, shivramg94 wrote: > Hi, > > We are trying to configure TCP load balancing with TLS termin

Re: proxy_cache_background_update leads to 200 ms delay

2018-07-06 Thread stephan13360
To clarify a few things: The delay has nothing to do with the proxy_cache_valid 200 time, this change only made me realize that there seems to be a problem. Before this change our web monitoring would always get a cache HIT, and after it mostly got a STALE response because it checks every minute.

proxy_cache_background_update leads to 200 ms delay

2018-07-06 Thread stephan13360
I recently set proxy_cache_valid 200 to 1 second, down from 15 minutes to refresh the content more often (With proxy_cache_background_update on; already activated long before that). Our Web monitoring, checking our site every minute, showed an increase in response time following this change. After