IP Blocking with Upstash
With Vercel's Edge Middleware we're able to execute functions at the edge level and act on mid-flight requests instantly. This example uses Upstash for API rate limiting and to add rules that allows us to block certain IPs.
Add IPs to block them below, next go to /am-i-blocked under the IP and it'll be blocked. Your IP is: .
Loading Rules...