Files in Repository URL wrong
i am running a Gitlab on 12.10.3 (upgrade incoming) but i got twice the following situation:
I configured a external_url in my gitlab.rb and it is just working fine. Everything is ok. But when i try to open a file in a repository, it is linking to my ip.
So lets say when
i am trying to open Gitlab with external_url: my-own-domain.de -> works
i am trying to open a repository with external_url: my-own-domain.de -> works
i am trying to create a new file: gitlab is using my external url
But when i try to open a file in a repo, gitlab is linking to my internal IP. Which is wrong. And i don't know how to fix this.
I got this now for the second time. The first time, like 3 weeks ago, i investigated it and checked the logs, headers and configs.
Just for fun, i changed the external_url line to a wrong syntax and let the reconfigure run, which exited with an error message. Then i changed it to correct syntax again, reconfigured and and the problem was gone! PLEASE don't ask me why or how, i don't understand it.
But now, i have the exact same issue again, and i can't fix it.