From b5b764e3f90ded80354758addd8ecae1592ba1b7 Mon Sep 17 00:00:00 2001 From: hoteas <925970985@qq.com> Date: Thu, 23 Jul 2026 06:05:00 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BC=98=E9=9B=85=E5=81=9C=E6=9C=BA?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B=E9=80=8F=E4=BC=A0=20EO-Connecting-IP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- docs/GracefulShutdown_优雅停机.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/GracefulShutdown_优雅停机.md b/docs/GracefulShutdown_优雅停机.md index c66ec1e..9fd28f1 100644 --- a/docs/GracefulShutdown_优雅停机.md +++ b/docs/GracefulShutdown_优雅停机.md @@ -67,7 +67,9 @@ server { # 其他常规配置... proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; + # EdgeOne 场景优先 EO-Connecting-IP;空则框架再降级到 XFF / RemoteAddr + proxy_set_header X-Real-IP $http_eo_connecting_ip; + proxy_set_header EO-Connecting-IP $http_eo_connecting_ip; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } }