Re: Resolver not re-resolving new ip address of an AW ELB

2017-10-31 Thread RKGood
Thank you for your replies. I think we have found the root cause. We have found below: When you are using variables in a proxy_pass directive, nginx will use runtime resolving except if : the target server is declared as an IP address the target server name is part of an upstream server gr

Re: Resolver not re-resolving new ip address of an AW ELB

2017-10-30 Thread RKGood
Can someone help please. We been having issues everyday and left with no other options to try Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277101,277132#msg-277132 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Re: Resolver not re-resolving new ip address of an AW ELB

2017-10-27 Thread RKGood
Forgot to mention imporant information: we are using dockerized nginx, deployed in ECS cluster. Docker nginx image version is 1.11 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277101,277102#msg-277102 ___ nginx mailing list nginx@nginx.org

Resolver not re-resolving new ip address of an AW ELB

2017-10-27 Thread RKGood
Hello, We are trying to find a solution from past couple of days but nothing seems to work so far. Our server in prod going down everyday when the AWS ELB changes ip address. Our's little complex proxy (don't ask me why we have to do this :), there is a strong reason for it), our clients will send