Foreman too many redirects

Problem: Cannot load Foreman, ERR_TOO_MANY_REDIRECTS

Expected outcome: Foreman to load correctly

Foreman and Proxy versions: 3.1.0

Foreman and Proxy plugin versions: 3.1.0

Distribution and version: Oracle Linux 8

Other relevant data:
I’m running foreman in a container behind a network load balancer (puppetserver, r10k and foreman-proxy are also conainerised). The TLS is terminated at the load balancer and foreman is listening on HTTP/3000 with nothing else in the way (no apache/nginx etc.). The issue I’m facing is that I’m unable to load foreman as it keeps redirecting me:

$ curl
<html><body>You are being <a href="">redirected</a>.</body></html>
$ curl
<html><body>You are being <a href="">redirected</a>.</body></html>
$ curl -L
curl: (47) Maximum (50) redirects followed


2022-01-28 10:43:0210.42.128.189 - - [28/Jan/2022:10:43:02 UTC] "GET /users/login HTTP/1.1" 301 99
2022-01-28 10:43:02- -> /users/login

Is there a setting I need to change to stop this behaviour? Or if someone can link me to the part of the code that does the redirect I can do some digging.

Any help appreciated!
Many thanks,