Manu-H
October 3, 2016, 6:22pm
1
Hello,
after a reinstalltion of my Server, i can’t use Gitlab with my Nginx anymore.
I used the same config before - everything was finde then.
Nginx is “false” in gitlab.rb - User was set to www-data
Gitlab-ctl status is ok
nginx status is ok.
Nginx config: http://pastebin.com/cTZGtjKV
Anyone any idea?
Regards,
Manu
I have seen this when you have problems with your gitlab.rb omnibus file having bad URLs in it. When it should be http you had https, or when it should be https, you had http.
Manu-H
October 4, 2016, 4:19pm
3
Thank you.
The gitlab.rb should be correct…
Url on which GitLab will be reachable.
For more details on configuring external_url see:
# Configuration options
GitLab is configured by setting the relevant options in
`/etc/gitlab/gitlab.rb`. See [package defaults](../package-information/defaults.md)
for a list of default settings and visit the
[`gitlab.rb.template`](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-config-template/gitlab.rb.template)
for a complete list of available options.
New installations starting from GitLab 7.6, will have
all the options of the template as of installation listed in
`/etc/gitlab/gitlab.rb` by default.
## Configuring the external URL for GitLab
NOTE: **Note:**
Before you change the external URL, you should check if you have
previously defined a custom **Home page URL** or **After sign out path** under
**Admin Area > Settings > General > Sign-in restrictions**. If URLs have been
defined, either update them or remove them completely. Both of these settings
might cause unintentional redirecting after configuring a new external URL.
This file has been truncated. show original
external_url ‘https://git.domain.tld ’