Project URL defaults to host name, not external_url

I just installed Gitlab and after several days of chasing configuration issues due to my network topology, got it working.

But when I try to create a new project, I get the original Project URL which is local instead of the external URL.

E.g.: https://mediaserver:8000/gitlab/

My gitlab.rb file contains: external_url ‘Sign in · GitLab

I’ve searched through the settings, the database and the filesystem and I can’t find where this is coming from.

It’s global. I’ve created several test users and it’s the same for each of them.

I’ve reconfigured and restarted and can’t change it.

The site itself works fine (as much as I’ve been able to test).