diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-25 18:08:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-04-25 18:08:44 +0300 |
commit | 29516285ebf20d2c9836d5263f9d3fba21d04a95 (patch) | |
tree | cb88f9184fd4bd12e97a3207eaa9d774014d7679 /doc/development/workhorse/configuration.md | |
parent | 52eb17ad859d778104993ee0edfa9c034e59af80 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/workhorse/configuration.md')
-rw-r--r-- | doc/development/workhorse/configuration.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/development/workhorse/configuration.md b/doc/development/workhorse/configuration.md index 7f9331e6f1e..ce80a155489 100644 --- a/doc/development/workhorse/configuration.md +++ b/doc/development/workhorse/configuration.md @@ -128,6 +128,25 @@ relative URL in the `authBackend` setting: gitlab-workhorse -authBackend http://localhost:8080/gitlab ``` +## TLS support + +A listener with TLS can be configured to be used for incoming requests. +Paths to the files containing a certificate and matching private key for the server must be provided: + +```toml +[[listeners]] +network = "tcp" +addr = "localhost:3443" +[listeners.tls] + certificate = "/path/to/certificate" + key = "/path/to/private/key" + min_version = "tls1.2" + max_version = "tls1.3" +``` + +The `certificate` file should contain the concatenation +of the server's certificate, any intermediates, and the CA's certificate. + ## Interaction of authBackend and authSocket The interaction between `authBackend` and `authSocket` can be confusing. |