The intent is to cover all API endpoints starting with /api/ that are NOT /api/0/. All of those are owned by Relay. There are multiple of them, I don’t recommend encoding them into the lb
Change the evaluation priority for the Web Rule to a higher value then that of relay, otherwise it can happen that your request that was meant to go to /api/0/* goes to /api/*
Just FYI for you and anyone that may come to this thread, we do not recommend switching out the built-in Nginx with something else but instead put an LB in front of it.