Running gitlab in docker on alternate port failing for issues

I’m running gitlab-ce in a docker container. I’m routing port 80 to 4080, externally. I updated gitlab.rb with external_url=‘http://server:4080/

I did a ‘gitlab-ctl stop’ and then restarted. I cleared cookies in my browser. For most things, it works fine. But when I navigate to issues, the url loses the port number and I get a connection refused because I don’t have anything running on port 80.

What step have I missed?

I’m not using nginx for reverse proxy.

Also, I can manually add the port to the url and the issue will come up.