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; } }