Welcome! Log In Create A New Profile

Advanced

Can NGINX do content based redirection?

Posted by Togger75 
Can NGINX do content based redirection?
January 24, 2018 02:42PM
I'd like to be able to us NGINX as the single point of entry and send the traffic off to different servers depending on the content of a SOAP/XML element, is that possible?

So the SOAP request might POST <colour> BLUE </colour> and it would reverse proxy to server 1 but if it was <colour> RED</colour> it would send it to server 2. I know you can do it with GET requests ($arg) but it has to be POST.

Is that possible? Any links for me?

Thanks!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
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