I'm using Nginx as a reverse proxy for multiple backend services. These services are isolated and run on different release cycles. Depending on what's in the process of being updated, some services may require a canary deployment while other services have a single endpoint.
I've been looking at the ngx_http_split_clients_module which looks like exactly what I need, but it can only be placed in the http context. I effectively need the same functionality, but would have to run it in the location contexts of my different services. Is there any way to achieve this?