Gitlab CE / EE – SSL Certificate Solution Summary: Edit Below: nano /etc/gitlab/gitlab.rb Add this line : nginx[‘custom_gitlab_server_config’] = “location /.well-known/acme-challenge/ {\n root /var/opt/gitlab/nginx/www/; \n}\n” letsencrypt[‘enable’] = true letsencrypt[‘contact_emails’] = [‘[email protected]’] # This should be an array of email addresses to add as contacts letsencrypt[‘auto_renew’] = true letsencrypt[‘auto_renew_hour’] = 0.