Forum archive
GitLab HTTP Port
Hi there, loving TKL - I use several of your applications!
Having a slight issue with my latest endeavour though and was hoping somebody could help;
I'm running gitlab in a Hyper-V instance of server 2012 which already has an IIS server setup serving websites on port 80 and I have no idea where to even start on using IIS to deliver the pages from the gitlab instance so what I decided to do instead was change the listen port of gitlab.
I found a tutorial here (I forget where, exactly - it came around from a fair amount of google-fu) on how to change the port the webserver listens too.. I think it was nginx and unicorn? Anyway, that seemed to work perfectly, I could no longer connect to http://192.168.1.59 but instead http://192.168.1.59:88 connected... and then the problems began. gitlab obviously uses page redirects such as redirecting to the login page when you connect, problem is it's not redirecting to the new port - it's trying to redirect to the standard http port (http://192.168.1.59/user/login or something to that effect).
So my question to you guys is this; is it possible, and if so, how would I go about telling gitlab it's got a new home on port 88?
Cheers in advance,
Cal
As far as I know you can't host gitlab in a Windows IIS environment? What I mean is I have IIS running hosting other websites so port 80 is forwarded to the IIS Server.
I'm running gitlab appliance in Hyper-V so to make it accessible externally I need to change the port that it uses so I can forward that port to gitlab. I've successfully gotten the web server in the appliance listening on port 88 but when I connect to it, gitlab redirects to addresses on port 80 which ofcourse it won't find anything on as the web server is listening on port 88