HTTPS / SSL for Gitlab

Feb 7th, 2015 | By | Category: Linux / Freebsd

Easy peasy to setup.. Just create your private key and certificate, make a dir in /etc/gitlab/ssl and stick them in there.. Edit your gitlab.rb and add this:

nginx[‘ssl_certificate’] = “/etc/gitlab/ssl/whatever.crt”
nginx[‘ssl_certificate_key’] = “/etc/gitlab/ssl/whatever.key”

#gitlab-ctl reconfigure and you should be good to go

Leave a Comment