I am trying to use a reverse proxy on nginx along with basic auth. My API has a design in such a way where some rest calls are open and some require a bearer token. I see an