configure rate limiting on NGINX or asp.net app itself

currently develop app and deploy into ubuntu server and used NGINX as reverse proxy if i need to apply rate limiting i do in NGINX part or asp.net core app?
Was this page helpful?