Can't get gitlab-ci and gitlab run on the same host
Hello there!
I've got ubuntu 12.04 host and two DNS records pointing to it.
git.example.com
and ci.example.com
# well not that addresses but I use them here :)
gitlab runs well, but I can't authorize gitlab-ci.
After I press "login with gitlab" on gitlab-ci page. It tries to send me to ci.example.com
for authorize. I get it and changed ci.example.com
to git.example.com
, but after I press authorize app It does nothing after timeout I see 502 error with address:
http://ci.example.com/user_sessions/callback?code=somecode
For some reason gitlab-ci thinks that my gitlab instance also runs on ci.example.com
on gitlab-ci login page I see:
Login using GitLab account
Make sure you have account on GitLab server http://ci.example.com
Why is that happening?