User Tools

Site Tools


1. Add following to your /etc/gitlab/gitlab.rb

external_url 'https://git.yourdomain.tld'
nginx['listen_address'] = 'localhost'
nginx['listen_port'] = 8888
nginx['listen_https'] = false

2. Reconfigure gitlab-ce

gitlab-ctl reconfigure

3. Create a subdomain or domain alias

4. Enable needed headers module

a2enmod headers

5. Configure Letsencrypt entry (when available)


6. Create certificate and copy to /etc/gitlab/ssl/git.yourdomain.tld.pem (decrypted private, public, intermediate) 7. Reload apache2 service

apache2 reload
/var/www/virtual/ · Last modified: 2017/09/01 10:21 by heppi