https configuration not working in GitLab
everything works fine with http://gitlab.server.com
Updated /etc/gitlab/gitlab.rb as per below for enabling HTTPS
external_url "https://gitlab.server.com" nginx['redirect_http_to_https'] = true
Successfully created /etc/gitlab/ssl/gitlab.server.com.key and /etc/gitlab/ssl/gitlab.server.com.crt and copied under /etc/gitlab/ssl/
Once I make above changes and do following,
sudo gitlab-ctl reconfigure sudo gitlab-ctl restart
and then try accessing https://gitlab.server.com
I get the following in Chrome,
The gitlab.server.com page isn’t working
gitlab.server..com redirected you too many times.
Try:
Reloading the page
Clearing your cookies
ERR_TOO_MANY_REDIRECTS
I get following in Internet Explorer,
This page can't be displayed, •Make sure the web address https://gitlab.server.com is correct. •Look for the page with your search engine. •Refresh the page in a few minutes.
checking the logs at sudo less /var/log/gitlab/nginx/gitlab_access.log, it appears that I get in to infinite https --> http --> https loop here and I am stuck here totally.