I am creating a proxy with nginx which, depending on certain strings within the request, redirects to a server rather than another
example
api.php?op=channels&category=ID&username=username&password=password
if inside the request there is the term "channels" it redirects to 1.2.3.4
example
api.php?op=channels&category=ID&username=username&password=password
if inside the request there is the term "channels" it redirects to 1.2.3.4