Nginx 1.6.2 - Redirect users base on 4 digits number provide
Styopa Semenukha
semenukha at gmail.com
Thu Oct 2 15:10:50 UTC 2014
On Thursday, October 02, 2014 10:51:25 AM mottycruz wrote:
> Hello All,
>
> I am trying to redirect users base on four digits number they provide. For
> instance, if they provide a number 4024 they will be redirect to web server
> name fly.fqdn.com, if digits are 5025 they will be directed to another web
> server name guide.fqdn.com. if this possible? if so, can someone point to
> instructions, I am confuse. New to Nginx.
>
> Thanks in advance,
> Motty
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,253708,253708#msg-253708
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
Probably http://nginx.org/r/map will come in handy. Depends on how many
entries you expect to have.
--
Best regards,
Styopa Semenukha.
More information about the nginx
mailing list