summaryrefslogtreecommitdiff
path: root/config.yml.example
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2021-04-09 12:09:29 +0100
committerNick Thomas <nick@gitlab.com>2021-04-09 12:22:40 +0100
commit47fa4d7dad0e62f38aa2e7e119359872c215eae8 (patch)
tree5c57eb0322b7f063059027ce4bcec135aca1ea92 /config.yml.example
parent88f94337bb87c0cc51f6badf7a4ff1826f25efaa (diff)
downloadgitlab-shell-491-support-proxy-protocol.tar.gz
gitlab-sshd: Support the PROXY protocol491-support-proxy-protocol
Diffstat (limited to 'config.yml.example')
-rw-r--r--config.yml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example
index 8a00375..248136b 100644
--- a/config.yml.example
+++ b/config.yml.example
@@ -66,6 +66,9 @@ audit_usernames: false
sshd:
# Address which the SSH server listens on. Defaults to [::]:22.
listen: "[::]:22"
+ # Set to true if gitlab-sshd is being fronted by a load balancer that implements
+ # the PROXY protocol
+ proxy_protocol: false
# Address which the server listens on HTTP for monitoring/health checks. Defaults to localhost:9122.
web_listen: "localhost:9122"
# Maximum number of concurrent sessions allowed on a single SSH connection. Defaults to 10.