Where to add ETag for API?

ZZigo12/24/2022
All my static files look like they are being ETag cached, but I have an API that I'd like to be cached too

I'm using Nginx for static files + API, and Kestrel for API (that's about as far as I understand)