In gitlab 7.6 , default run on http://localhost:8080/
I use apache proxy to forward localhost:8080 to http://gitlab.my-domain/
but in project page , project http clone url still port 8080
I look on source code , found some config in gitlab.yml , but non documented
is gitlab_config.url
you can set url parameter in gitlab.yml , project close http url will be changed to correct.
Example:
production: &base
gitlab:
host: gitlab.my-domain
port: 8080
https: false
url: http://gitlab.my-domain
........
沒有留言:
張貼留言