Re: nginx routing based on ip address

2016-02-24 Thread digitalkapitaen
keeyong Wrote: --- > 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 172.16.4.24)? Based on this, I > want to send th

nginx routing based on ip address

2016-02-23 Thread keeyong
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 172.16.4.24)? Based on this, I want to send the request to different endpoints (not to different servers). If this can be don