Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7756

Closed
Open
Created Sep 16, 2014 by Administrator@rootOwner

messed up nginx virtual host

Created by: dqlopez

Followed the new way to download and install GitLab from here https://about.gitlab.com/downloads/, selected Ubuntu 14.04 then did the rest until sudo gitlab-ctl reconfigure. All went well, not until I go to the hostname/external URL on which I wish to login on GitLab. Seems that the nginx is not properly configured. I checked my sites-enabled folder and seems that there is no GitLab vhost generated. I wonder since the installation is automatic, why it didn't add a virtual hosts configuration on my nginx.

Add to that, I tried to restart my nginx, however it fails now after I installed GitLab. This was the error from nginx log.

2014/09/16 08:57:50 [emerg] 17805#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 08:57:50 [emerg] 17805#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 08:57:50 [emerg] 17805#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 08:57:50 [emerg] 17805#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 08:57:50 [emerg] 17805#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 08:57:50 [emerg] 17805#0: still could not bind()
2014/09/16 09:29:13 [emerg] 20382#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 09:29:13 [emerg] 20382#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 09:29:13 [emerg] 20382#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 09:29:13 [emerg] 20382#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 09:29:13 [emerg] 20382#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2014/09/16 09:29:13 [emerg] 20382#0: still could not bind()

UPDATE: Seems that I now have two(?) nginx in my system. Whenever I access my domains it all goes to the GitLab login page now. Clarifications here, please. @randx

Assignee
Assign to
Time tracking