Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
0c2ad230
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0c2ad230
编写于
9月 12, 2019
作者:
B
Ben Bodenmiller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update index.md again
上级
d6776e7c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
22 addition
and
6 deletion
+22
-6
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+22
-6
未找到文件。
doc/administration/gitaly/index.md
浏览文件 @
0c2ad230
...
@@ -363,9 +363,9 @@ with a Gitaly instance that listens for secure connections you will need to use
...
@@ -363,9 +363,9 @@ with a Gitaly instance that listens for secure connections you will need to use
scheme in the
`gitaly_address`
of the corresponding storage entry in the GitLab configuration.
scheme in the
`gitaly_address`
of the corresponding storage entry in the GitLab configuration.
You will need to bring your own certificates as this isn't provided automatically.
You will need to bring your own certificates as this isn't provided automatically.
The certificate to be used needs to be installed on all Gitaly nodes, and the
The certificate to be used needs to be installed on all Gitaly nodes, and the
certificate (or CA of certificate) on all
certificate (or CA of certificate) on all
client nodes that communicate with it
as well,
following the procedure described in
client nodes that communicate with it following the procedure described in
[
GitLab custom certificate configuration
](
https://docs.gitlab.com/omnibus/settings/ssl.html#install-custom-public-certificates
)
.
[
GitLab custom certificate configuration
](
https://docs.gitlab.com/omnibus/settings/ssl.html#install-custom-public-certificates
)
.
NOTE:
**Note:**
NOTE:
**Note:**
...
@@ -391,6 +391,14 @@ To configure Gitaly with TLS:
...
@@ -391,6 +391,14 @@ To configure Gitaly with TLS:
```
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
on client node(s).
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
on client node(s).
1.
Create the
`/etc/gitlab/ssl`
directory and copy your key and certificate there:
```
sh
sudo mkdir
-p
/etc/gitlab/ssl
sudo chmod
700 /etc/gitlab/ssl
sudo cp
key.pem cert.pem /etc/gitlab/ssl/
```
1.
On the Gitaly server node(s), edit
`/etc/gitlab/gitlab.rb`
and add:
1.
On the Gitaly server node(s), edit
`/etc/gitlab/gitlab.rb`
and add:
<!--
<!--
...
@@ -400,8 +408,8 @@ To configure Gitaly with TLS:
...
@@ -400,8 +408,8 @@ To configure Gitaly with TLS:
```
ruby
```
ruby
gitaly
[
'tls_listen_addr'
]
=
"0.0.0.0:9999"
gitaly
[
'tls_listen_addr'
]
=
"0.0.0.0:9999"
gitaly
[
'certificate_path'
]
=
"
path/to
/cert.pem"
gitaly
[
'certificate_path'
]
=
"
/etc/gitlab/ssl
/cert.pem"
gitaly
[
'key_path'
]
=
"
path/to
/key.pem"
gitaly
[
'key_path'
]
=
"
/etc/gitlab/ssl
/key.pem"
```
```
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
on Gitaly server node(s).
1.
Save the file and
[
reconfigure GitLab
](
../restart_gitlab.md#omnibus-gitlab-reconfigure
)
on Gitaly server node(s).
...
@@ -439,14 +447,22 @@ To configure Gitaly with TLS:
...
@@ -439,14 +447,22 @@ To configure Gitaly with TLS:
[
this issue
](
https://gitlab.com/gitlab-org/gitaly/issues/1282
)
is resolved.
[
this issue
](
https://gitlab.com/gitlab-org/gitaly/issues/1282
)
is resolved.
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
on client node(s).
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
on client node(s).
1.
Create the
`/etc/gitlab/ssl`
directory and copy your key and certificate there:
```
sh
sudo mkdir
-p
/etc/gitlab/ssl
sudo chmod
700 /etc/gitlab/ssl
sudo cp
key.pem cert.pem /etc/gitlab/ssl/
```
1.
On the Gitaly server node(s), edit
`/home/git/gitaly/config.toml`
and add:
1.
On the Gitaly server node(s), edit
`/home/git/gitaly/config.toml`
and add:
```
toml
```
toml
tls_listen_addr
=
'0.0.0.0:9999'
tls_listen_addr
=
'0.0.0.0:9999'
[tls]
[tls]
certificate_path
=
'/
path/to
/cert.pem'
certificate_path
=
'/
etc/gitlab/ssl
/cert.pem'
key_path
=
'/
path/to
/key.pem'
key_path
=
'/
etc/gitlab/ssl
/key.pem'
```
```
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
on Gitaly server node(s).
1.
Save the file and
[
restart GitLab
](
../restart_gitlab.md#installations-from-source
)
on Gitaly server node(s).
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录