https://tenzer.dk/nginx-with-dynamic-upstreams/
For this one, it seems like it discusses how endpoints are cached. The closing words don't follow what I'm trying to do:
"Just to make it clear, this doesn't only affect setups using an ELB as an upstream server, but applies to any configuration where you use a changing DNS record as your upstream server in Nginx."
http://stackoverflow.com/questions/24350124/port-number-getting-stripped-out-of-url
I had taken a look at this before I originally posted, and it doesn't seem relevant. It seems like the fix for this was within the application, not the nginx as a reverse proxy.
https://forum.nginx.org/read.php?2,239790,239794#msg-239794
I'm using 1.9.15 so I'm not sure if this one is relevant.
I've attached a screenshot of the redirect if it helps.
For this one, it seems like it discusses how endpoints are cached. The closing words don't follow what I'm trying to do:
"Just to make it clear, this doesn't only affect setups using an ELB as an upstream server, but applies to any configuration where you use a changing DNS record as your upstream server in Nginx."
http://stackoverflow.com/questions/24350124/port-number-getting-stripped-out-of-url
I had taken a look at this before I originally posted, and it doesn't seem relevant. It seems like the fix for this was within the application, not the nginx as a reverse proxy.
https://forum.nginx.org/read.php?2,239790,239794#msg-239794
I'm using 1.9.15 so I'm not sure if this one is relevant.
I've attached a screenshot of the redirect if it helps.