Skip to content

Instantly share code, notes, and snippets.

@jnslxndr
Last active November 9, 2015 16:25
Show Gist options
  • Save jnslxndr/81c442edca64ab18e67b to your computer and use it in GitHub Desktop.
Save jnslxndr/81c442edca64ab18e67b to your computer and use it in GitHub Desktop.
Gitlab gotchas

Notes on how to configure Gitlab > 8.0

Some gotchas i found while running gitlab > 8.0

All concern the omnibus package!

Self signed certificates

  • when using your own CA, copy contents of the cert into /opt/gitlab/embedded/ssl/certs/cacert.pem (a compiled collection of CA certs)
    • this will prevetn errors on SSL connections, e.g. to your ci server, when checking the build status in MRs

Mattermost Quirks

  • when configuring mattermost with gitlab, the nginx/ssl ports are not well rendered through the chef templates, one needs to correct these:
    • in /var/opt/gitlab/nginx/conf/gitlab-mattermost-http.conf
    • run gitlab-ctl restart nginx afterwards

Running Drone alongside

  • include your drone-nginx config file in the appropriate section of the /etc/gitlab/gitlab.rb under additional nginx configs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment