zzyork opened a new issue #253:
URL: https://github.com/apache/apisix-docker/issues/253
I deployed an apisix with docker-compose, but when using the real-ip plugin,
I found that the plug-in always failed to take effect.!
This is real-ip plugin's json config:
```json
"plugins": {
"real-ip": {
"source": "X-Forwarded-For",
"trusted_addresses": [
"39.0.0.0/8",
"10.10.0.0/16"
]
}
}
```
But when I visit, access.log still records the address of 10.10.xxx.xxx.
This IP address is the IP of my upper layer nginx.


should be 117.x.x.x
--
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]