Gitlab Server Redirection For
Gitlab Server Redirection For, I have already configured the SSL certificate in gitlab. If you’re not able to install you may check it here. Install the SSL Certificate in Gitlab. you can configure apache redirection rules for HTTP to HTTPS and permanent redirect but sometimes it will not work. you can also disable https redirect using apache.
Check Out: Install Gitlab
you can also use a free Letsencrypt certificate for your gitlab server and easy to configure and you would be needed a domain.
Note: You must have installed the SSL certificate
Add Port in firewall
firewall-cmd –permanent –add-port=443/tcp
Go to the gitlab file
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,
That’s it apache redirection rules apache redirect not working redirect http to https apache redirect permanent disable https apache