Everything redirects to gitlab

Hello,

I have Gitlab self hosted installed on a Debian 8 Machine along with the Nexus Repository Manager, the problem is I am not able to access the nexus domain (nexus.external.sapphirehosting.eu) because it always redirects me to the gitlab domain(repo.external.sapphirehosting.eu) I have changed gitlab to use apache2 as I like it more and know it a bit.

Also, I use Cloudflare as proxy and if I put the 3 domains (nexus.external, repo.external and external) to proxied instead of DNS only I get the error ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Please help me fast.

Hi,

How did you manage to achieve that? Please share more details about your setup (versions involved, vhost configuration, etc.).

Cheers,
Michael

Hello, thanks for the Reply

I used this Tutorial from the Docs to disable the default NGINX and then used Apache as my Web server
https://docs.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server

as VHost I used the one that I downloaded from gitlab itself

Hi,

ok - then you need to add additional VHost entries, all whose ServerName variable is set accordingly.

There should be one now disabled for ssl-default or similar in your apache config directory, if I am not mistaken.

Cheers,
Michael