diff options
author | James Fargher <jfargher@gitlab.com> | 2022-11-08 09:28:32 +1300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2022-11-23 19:25:30 +0000 |
commit | 95e4909e47906f516b5c9ea2b786574fec2a8f65 (patch) | |
tree | 0d1aebb8a761472e6915036745d4246881954ead | |
parent | 026975dc7fae48b8ba5d86f6c10b1112cf775d57 (diff) | |
download | gitlab-shell-95e4909e47906f516b5c9ea2b786574fec2a8f65.tar.gz |
Add configuration example for proxy_allowed
-rw-r--r-- | config.yml.example | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config.yml.example b/config.yml.example index 501b61b..0154723 100644 --- a/config.yml.example +++ b/config.yml.example @@ -72,6 +72,10 @@ sshd: # Proxy protocol policy ("use", "require", "reject", "ignore"), "use" is the default value # Values: https://github.com/pires/go-proxyproto/blob/195fedcfbfc1be163f3a0d507fac1709e9d81fed/policy.go#L20 proxy_policy: "use" + # Proxy allowed IP addresses. Takes precedent over proxy_policy. Disabled by default. + # proxy_allowed: + # - "192.168.0.1" + # - "192.168.1.0/24" # 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. |