I was struggling with this same issue and I identified the issue from the original poster, so I wanted to share. It does work in Docker Compose, but with one caveat. The solution can be found here: HTTP to HTTPS Redirect Causing a 404
I was struggling with this same issue and I identified the issue from the original poster, so I wanted to share. It does work in Docker Compose, but with one caveat. The solution can be found here: HTTP to HTTPS Redirect Causing a 404