Skip to content

Commit 95e4909

Browse files
James Fargherproglottis
authored andcommitted
Add configuration example for proxy_allowed
1 parent 026975d commit 95e4909

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.yml.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ sshd:
7272
# Proxy protocol policy ("use", "require", "reject", "ignore"), "use" is the default value
7373
# Values: https://github.com/pires/go-proxyproto/blob/195fedcfbfc1be163f3a0d507fac1709e9d81fed/policy.go#L20
7474
proxy_policy: "use"
75+
# Proxy allowed IP addresses. Takes precedent over proxy_policy. Disabled by default.
76+
# proxy_allowed:
77+
# - "192.168.0.1"
78+
# - "192.168.1.0/24"
7579
# Address which the server listens on HTTP for monitoring/health checks. Defaults to localhost:9122.
7680
web_listen: "localhost:9122"
7781
# Maximum number of concurrent sessions allowed on a single SSH connection. Defaults to 10.

0 commit comments

Comments
 (0)