Resolver not re-resolving new ip address of an AW ELB
    pankaj@releasemanager.in 
    nginx-forum at forum.nginx.org
       
    Tue Oct 31 03:25:00 UTC 2017
    
    
  
you have two choices if the variable use is not working and you specifically
need to use upstream config option.
1. Subscribe to Nginx Plus.
2. Compile this module along with Nginx ..
https://github.com/aziontech/nginx-upstream-dynamic-servers 
I have personally used this module and it works.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277101,277147#msg-277147
    
    
More information about the nginx
mailing list