403 forbidden - It works! Just go somewhere else

hi all,

I’m facing the following problem.
I installed giltlab and configured the external_url. But when I try to reach my installation got a white page with the following text inside: It works! Just go somewhere else.

I don’t know where the problem is. Hope you can help we figure this out.

Regards
Markus

Does no one have an idea or a tip? Has it possibly to do with cookies?

Too little information to help. What version of Gitlab? Omnibus, docker or built from source?

Assuming omnibus version, if just configuring external url with domain name or IP address, it’s not really that possible. I expect some other changes were made by you that caused it to fail, else it would pretty much work.

Would be best for you to explain how you configured it, what you changed, whether you are using built-in nginx, or attempting to use an external nginx installation and proxy configuration to redirect to gitlab, or just basic simple install. There are way too many potential configurations to know what your problem might be without you explaining everything step-by-step.

Okay, we are using version 14.3.2 of Gitlab. We have installed the omnibus version (RedHat).
The configuration was done as described in the installation documentation. This also applies to the SSL part. We do not use an external proxy.

I have searched the gitlab.rb and the following customizations are enabled:

  • external_url
  • nginx[‘enable’] = true
  • nginx[‘client_max_body_size’] = ‘250m’
  • nginx[‘redirect_http_to_https’] = true
  • nginx[‘ssl_protocols’] = “TLSv1.2 TLSv1.3”
  • prometheus[‘listen_address’] = ‘localhost:9091’
  • letsencrypt[‘enable’] = false

Hi,

any suggestions? Every time I start a browser from a new machine, I got this message and cannot log in.
I don’t know what’s wrong.

Regards
Markus