Netlify function to rewrite origin request

Hi Folks,

Is there a way to trigger the lambda function on the origin request event like Cloudfront?

I want to redirect users access to specific pages by IP region. But, with the events provided by Netlify i can’t do this.

Hi @valter.martins, that not currently possible as Netlify Functions aren’t run on the edge. That said, have you considered using a location-based redirect rule?