Welcome! Log In Create A New Profile

Advanced

nginx Proxy routes requests based on certain strings in the request uri

Posted by artemisdj 
nginx Proxy routes requests based on certain strings in the request uri
January 12, 2021 05:57AM
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
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready