And , gitlab.yml is rewrited by “host:HOSTNAME and port:80” when I carried out gitlab-ctl reconfigure. thank.
gitlab-ctl reconfigure