nanamikon opened a new issue #3528:
URL: https://github.com/apache/apisix/issues/3528
### Issue description
ip-restriction will return json when the remote ip matches blacklist
```
{"message":"Your IP address is not allowed"}
```
I think default 403 error page will be better, or supporting an option to
change this behavior is ok
### Environment
* apisix version (cmd: `apisix version`): 2.2
* OS (cmd: `uname -a`): ubuntu
* OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): 1.19
* etcd version, if have (cmd: run `curl
http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
3.4.13
* apisix-dashboard version, if have:
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]