<VirtualHost *:443>
   ServerName gitlab.my.domain

   SSLEngine On
   SSLCertificateFile /etc/ssl/certs/my.domain.crt
   SSLCertificateKeyFile /etc/ssl/private/my.domain.key
   SSLCertificateChainFile /etc/ssl/certs/my.domain.ca

   SSLProxyEngine on
   ProxyPass / https://gitlab.my.domain/
   ProxyPassReverse / https://gitlab.my.domain/
   ProxyPreserveHost On

   <Location />
      Order allow,deny
      Allow from all
   </Location>
</VirtualHost>