Welcome! Log In Create A New Profile

Advanced

NGINX cache is not refreshed for updated ALB IP's

Posted by yuvrajc9 
NGINX cache is not refreshed for updated ALB IP's
February 02, 2022 09:32AM
For routing traffic from external load balancer to internal load balance in a AWS EKS cluster we are using NGINX in cluster VPC
we are using path based routing in nginx, things work normally initially however after few days performance of the system becomes slow and eventually login doesn't work. with some debugging we are at conclusion that internal ALB IP's change after some time but nginx still points to old IP's

we tried implementing solutions mentioned in below links, however with setting variable for proxy_pass we dont even get login page
https://medium.com/driven-by-code/dynamic-dns-resolution-in-nginx-22133c22e3ab
https://www.nginx.com/blog/dns-service-discovery-nginx-plus/

we need help to get past this problem
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 249
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready