Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3cac72e6
Commit
3cac72e6
authored
Feb 16, 2022
by
Mark Wood
Committed by
Evan Read
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation: Clarify TLS config for praefect and gitaly
parent
15637332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
doc/administration/gitaly/praefect.md
doc/administration/gitaly/praefect.md
+7
-4
No files found.
doc/administration/gitaly/praefect.md
View file @
3cac72e6
...
@@ -597,8 +597,8 @@ On the **Praefect** node:
...
@@ -597,8 +597,8 @@ On the **Praefect** node:
Praefect supports TLS encryption. To communicate with a Praefect instance that listens
Praefect supports TLS encryption. To communicate with a Praefect instance that listens
for secure connections, you must:
for secure connections, you must:
-
Use a
`tls://`
URL scheme in the
`gitaly_address`
of the corresponding storage entry
-
Ensure Gitaly is
[
configured for TLS
](
configure_gitaly.md#enable-tls-support
)
and use a
`tls://`
URL scheme in the
`gitaly_address`
in the GitLab configuration.
of the corresponding storage entry
in the GitLab configuration.
-
Bring your own certificates because this isn't provided automatically. The certificate
-
Bring your own certificates because this isn't provided automatically. The certificate
corresponding to each Praefect server must be installed on that Praefect server.
corresponding to each Praefect server must be installed on that Praefect server.
...
@@ -666,7 +666,7 @@ To configure Praefect with TLS:
...
@@ -666,7 +666,7 @@ To configure Praefect with TLS:
```
ruby
```
ruby
git_data_dirs
({
git_data_dirs
({
"default"
=>
{
"default"
=>
{
"gitaly_address"
=>
'tls://PRAEFECT_LOADBALANCER_HOST:
2
305'
,
"gitaly_address"
=>
'tls://PRAEFECT_LOADBALANCER_HOST:
3
305'
,
"gitaly_token"
=>
'PRAEFECT_EXTERNAL_TOKEN'
"gitaly_token"
=>
'PRAEFECT_EXTERNAL_TOKEN'
}
}
})
})
...
@@ -984,7 +984,10 @@ Particular attention should be shown to:
...
@@ -984,7 +984,10 @@ Particular attention should be shown to:
balancer.
balancer.
-
`PRAEFECT_EXTERNAL_TOKEN`
with the real secret
-
`PRAEFECT_EXTERNAL_TOKEN`
with the real secret
If you are using TLS, the
`gitaly_address`
should begin with
`tls://`
.
If you are using TLS:
-
The
`gitaly_address`
should begin with
`tls://`
instead.
-
The port should be changed to
`3305`
.
```
ruby
```
ruby
git_data_dirs
({
git_data_dirs
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment