Build URL broke when set nginx listen port
Build URL become '127.0.0.1' after set nginx['listen_port'] to 8088
I cannot use port 80 or 443 on my machine, so I use port 8088, parsing request by a reverse proxy.
Everything works fine but one thing, the url for build is wrong.
It should be http://mydomain.com/my_user_name/my_project/builds/5
, but it turns out to be something like http://127.0.0.1:8088/my_user_name/my_project/builds/5
.
I replaced the domain to get the page loaded, the terminal block shows nothing.
I went through the html and js file, and I found a lot http://127.0.0.1:8088/my_user_name/my_project/builds/5
thing.
I think it's a bug.
gitlab version
- GitLab 8.10.6
- GitLab Shell 3.2.1
- GitLab API v3
- Git 2.7.4
- Ruby 2.1.8p440
- Rails 4.2.7.1