This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git.
from effaf3c feat(uri-blocker): add custom rejected message (#4849)
add 6ab5183 feat(real-ip): support specifying trusted addresses (#4864)
No new revisions were added by this update.
Summary of changes:
apisix/core.lua | 1 +
apisix/core/ip.lua | 66 +++++++++++++++
apisix/plugins/ip-restriction/init.lua | 50 +-----------
apisix/plugins/real-ip.lua | 32 +++++++-
docs/en/latest/plugins/real-ip.md | 4 +-
t/plugin/real-ip.t | 141 ++++++++++++++++++++++++++++-----
6 files changed, 226 insertions(+), 68 deletions(-)
create mode 100644 apisix/core/ip.lua