I am trying to set up nginx and I don't get the point how to do the following setup:
I have an URL http://somehost.com/foo/bar/123/xxx_xxx that needs to be passed to different backends depending on a range the '123' matches (e.g. 0-150 -> backend1, 151-400 -> backend2, ...).
Since I have almost no experience with regexp, I don't know how to do this (in location?).
Thanks in advance for your help, Sascha