mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-27 01:54:47 -07:00
fix #1389
Support PROXY protocol v2, including ahead of plaintext connections
This commit is contained in:
@@ -52,10 +52,11 @@ server:
|
||||
tls:
|
||||
cert: fullchain.pem
|
||||
key: privkey.pem
|
||||
# 'proxy' should typically be false. It's only for Kubernetes-style load
|
||||
# balancing that does not terminate TLS, but sends an initial PROXY line
|
||||
# in plaintext.
|
||||
proxy: false
|
||||
# 'proxy' should typically be false. It's for cloud load balancers that
|
||||
# always send PROXY headers ahead of the connection (e.g., a v1 header
|
||||
# ahead of unterminated TLS, or a v2 binary header) that MUST be present
|
||||
# and cannot be processed on an optional basis.
|
||||
proxy: false
|
||||
|
||||
# Example of a Unix domain socket for proxying:
|
||||
# "/tmp/oragono_sock":
|
||||
|
||||
Reference in New Issue
Block a user