Baoyuantop commented on issue #12204:
URL: https://github.com/apache/apisix/issues/12204#issuecomment-2875669062

   > > If chash_key is not obtained (key is empty or does not exist), 
remote_addr is used as the hash key by default.
   > > You can try to configure the real-ip plugin to get the real client IP 
from the HTTP header (usually X-Forwarded-For).
   > 
   > The configuration file has been configured as follows. Is there any other 
configuration needed under this configuration?
   > 
   > ```
   > real_ip_recursive: "on"
   > 
   > real_ip_header: X-Forwarded-For
   > 
   > real_ip_from:            ngx_http_realip_module.html
   > 
   > -10.20.128.0/24
   > 
   > -10.15.66.0/24 
   > ```
   
   Will this work properly?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to