nanamikon commented on issue #3528:
URL: https://github.com/apache/apisix/issues/3528#issuecomment-773884710


   Thanks for reply,   I get your point.    Mixing api with the backstage 
management  is common usage of gateway in my comany, so I have to provide an 
option of using 403 error page or  json (as user format)
   
   I can't achieve it without changing code, refer to ip-restriction.lua.
   ```
       if block then
           return 403, { message = "Your IP address is not allowed" }
       end
   ```
   


----------------------------------------------------------------
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]


Reply via email to