diff options
author | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-12-18 14:56:58 +0200 |
---|---|---|
committer | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-12-18 14:56:58 +0200 |
commit | c1ed498f3ba0a241e064cdd56074924407203417 (patch) | |
tree | b89bbec00709a2f4a4a94d9743b6338aa4825472 | |
parent | f86e44e734f5d610fbca82eb046a506d78a91e98 (diff) | |
download | gitlab-ce-c1ed498f3ba0a241e064cdd56074924407203417.tar.gz |
Add tls config to gitaly administration docs
-rw-r--r-- | doc/administration/gitaly/index.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/administration/gitaly/index.md b/doc/administration/gitaly/index.md index 14205b42be4..444e2955d90 100644 --- a/doc/administration/gitaly/index.md +++ b/doc/administration/gitaly/index.md @@ -1,6 +1,6 @@ # Gitaly -[Gitaly](https://gitlab.com/gitlab-org/gitaly) is the service that +[Gitaly](https://gitlab.com/gitlab-org/gitaly) is the service that provides high-level RPC access to Git repositories. Without it, no other components can read or write Git data. @@ -133,6 +133,11 @@ gitaly['storage'] = [ { 'name' => 'default', 'path' => '/mnt/gitlab/default/repositories' }, { 'name' => 'storage1', 'path' => '/mnt/gitlab/storage1/repositories' }, ] + +# To use tls for gitaly you need to add +gitaly['tls_listen_addr'] = "0.0.0.0:9999" +gitaly['certificate_path'] = "path/to/cert.pem" +gitaly['key_path'] = "path/to/key.pem" ``` Source installations: @@ -140,6 +145,11 @@ Source installations: ```toml # /home/git/gitaly/config.toml listen_addr = '0.0.0.0:8075' +tls_listen_addr = '0.0.0.0:9999' + +[tls] +certificate_path = /path/to/cert.pem +key_path = /path/to/key.pem [auth] token = 'abc123secret' |