Scenario :
Web requests are coming to nginx on port 80. I need to forward requests on basis of URL parameter.
If URL contains userId=foo
anywhere in URL then it must got to Server A
and If URL contains userId=bar
anywhere in URL then it must got to Server B
What configuration option can I use to achieve this?