Skip to content
Snippets Groups Projects
Commit 24d00507491d authored by GitLab Bot's avatar GitLab Bot
Browse files

Automatic merge of gitlab-org/omnibus-gitlab master

No related branches found
No related tags found
1 merge request!100Upstream Merge of 16.1 CE branching point
......@@ -124,6 +124,17 @@
Code you include into `/etc/gitlab/gitlab.rb` using `from_file` runs with `root` privileges when you run `sudo gitlab-ctl reconfigure`.
Any configuration that is set in `/etc/gitlab/gitlab.rb` after `from_file` is included, takes precedence over the configuration from the included file.
## Read certificate from file
Certificates can be stored as separate files and loaded into memory when running `sudo gitlab-ctl reconfigure`. Files containing
certificates must be plaintext.
In this example, the PostgreSQL server certificate is read directly from a file rather than copy and pasting into the `gitlab.rb` directly.
```ruby
postgresql['internal_certificate'] = File.read('/path/to/server.crt')
```
## Store Git data in an alternative directory
By default, Omnibus GitLab stores the Git repository data under
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment