Welcome! Log In Create A New Profile


nginx routing based on ip address

February 24, 2016 12:26AM
I am wondering if it is possible to compute some kind of hash value from ip address or do modulo operation on the last numeric value from ip address (for example on 24 given Based on this, I want to send the request to different endpoints (not to different servers). If this can be done without installing any new module, that would be the best.

As far as I can see, I feel like I should do something similar using the regex?
Subject Author Posted

nginx routing based on ip address

keeyong February 24, 2016 12:26AM

Re: nginx routing based on ip address

digitalkapitaen February 24, 2016 12:49PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 120
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready