Redirect http to https gitlab-ce Locate and open vim /etc/gitlab/gitlab.rb Change the following line nginx['redirect_http_to_https'] = true Reconfigure Gitlab gitlab-ctl reconfigure