docs(config): make the proxy protocol example easier to read

The sample config now shows the TCP relay proxy protocol
toggle explicitly and keeps the UDP caveat on the same line
for easier scanning.
This commit is contained in:
yusing
2026-04-13 14:57:56 +08:00
parent 3de80bf9b1
commit 6cafbcf669

View File

@@ -52,8 +52,8 @@ entrypoint:
# Note that HTTP/3 with proxy protocol is not supported yet.
support_proxy_protocol: false
# To relay the client address to a TCP upstream, enable `relay_proxy_protocol_header: true`
# on that specific TCP route. UDP relay is not supported yet.
# To relay the client address to a TCP upstream (UDP relay is not supported yet)
relay_proxy_protocol_header: false
# Below define an example of middleware config
# 1. set security headers