I need .nginx.conf rule to tastyigniter-api

When trying to consume any endpoint(GitHub - tastyigniter/ti-ext-api: Manages and generates RESTful APIs for TastyIgniter) it gives me error 404, I need .nginx.conf rule like a https://github.com/tastyigniter/TastyIgniter/blob/3.x/.nginx.conf