<div dir="ltr"><div>Hello,</div><div><br></div>I would like to limit access to my API endpoints when unauthorized requests (i.e. when origin server responds with 401 status code) are made but I wasn't able to find any information on how to go about this online. Is this possible using nginx? Please let me know.<div><br></div><div>Regards,</div><div>Krishna</div></div>