diff options
author | Nick Thomas <nick@gitlab.com> | 2021-04-09 12:09:29 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2021-04-12 18:09:22 +0100 |
commit | db4a3558ed7d484c2a45e6f5857e0a1bc36d3810 (patch) | |
tree | 95fa0ff77fd0c3e5912be204131f962981a2eba5 /internal/config/config.go | |
parent | dddd5c2ec16f17ecb8420d84d9a76c75a6c7fd47 (diff) | |
download | gitlab-shell-db4a3558ed7d484c2a45e6f5857e0a1bc36d3810.tar.gz |
gitlab-sshd: Support the PROXY protocol
Diffstat (limited to 'internal/config/config.go')
-rw-r--r-- | internal/config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index ad24b17..ed061a8 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -19,6 +19,7 @@ const ( type ServerConfig struct { Listen string `yaml:"listen,omitempty"` + ProxyProtocol bool `yaml:"proxy_protocol,omitempty"` WebListen string `yaml:"web_listen,omitempty"` ConcurrentSessionsLimit int64 `yaml:"concurrent_sessions_limit,omitempty"` HostKeyFiles []string `yaml:"host_key_files,omitempty"` |