Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Strokov <pstrokov@gitlab.com>2020-06-18 13:02:56 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2020-07-01 17:01:42 +0300
commitb41efd6feb6d2a241528ded7f604f765a4c4ec25 (patch)
tree3f7a0479bebdeee2003cf2aa49c6aaa03517f76b /config.praefect.toml.example
parent715cfcc7c66040149447ecdfb2400d0494c88b47 (diff)
Add TLS support to Praefect
Praefect allowed to use TLS address to listen on in combination with certificate and its key to be used for it. 'metadata' package refactored, so TLS address can be passed into the Gitaly. Documentation fixed and example file filled with proper vals. Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/1698
Diffstat (limited to 'config.praefect.toml.example')
-rw-r--r--config.praefect.toml.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example
index 9552c868b..abca94eac 100644
--- a/config.praefect.toml.example
+++ b/config.praefect.toml.example
@@ -2,6 +2,13 @@
# # TCP address to listen on
listen_addr = "127.0.0.1:2305"
+# # Secured TCP address to listen on.
+# tls_listen_addr = "127.0.0.1:2306"
+# # Path to the certificate and its key used for TLS listening address.
+# [tls]
+# certificate_path = '/home/git/cert.cert'
+# key_path = '/home/git/key.pem'
+
# # Praefect can listen on a socket when placed on the same machine as all clients
# socket_path = "/home/git/gitlab/tmp/sockets/private/praefect.socket"
# # Optional: grace period before a praefect process is forcibly terminated (duration)