From 6cafbcf66974b82fb4b2dd5029609d1cffc7a553 Mon Sep 17 00:00:00 2001 From: yusing Date: Mon, 13 Apr 2026 14:57:56 +0800 Subject: [PATCH] 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. --- config.example.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.example.yml b/config.example.yml index 4de8a686..a1eec288 100644 --- a/config.example.yml +++ b/config.example.yml @@ -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