Redirection HTTP To HTTPS for Giltab

I have already configured SSL certificate in gitlab. If you’re not able to install you may check it here. Install SSL Certificate in Gitlab Now you might be facing redirection  http to https URL in gilt-ab. It’s an easy.

Check out : Install Gitlab

Let’s begin

Note: You must have installed SSL certificate

Add  Port in firewall

firewall-cmd –permanent –add-port=443/tcp

firewall-cmd –reload

Go to the gitlab file

vim /etc/gitlab/gitlab.rb

Look for External_url, the default will be pointed to http://ip/hostname

Changed to https

And after changing the URL to https, run the below commands,

gitlab-ctl reconfigure

That’s it



Please enter your comment!
Please enter your name here

20 + 9 =