Re: Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-06 Thread mottycruz
Thanks for your help Styopa, I was able to find modules installed on our current proxy with the following command, because we have a customize module. :~# /usr/local/nginx/sbin/nginx -V nginx version: nginx/0.7.67 built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) TLS SNI support enabled configure

Re: Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-03 Thread mottycruz
Thanks for the post, I am trying to install map module but I can't figure out how to compile nginx with map module, I did the following: ./configure --with-http_charset_module but get an error "invalid option". I would like to compile Nginx with upstread module as well, please help. Posted at Ng

Re: Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-02 Thread mottycruz
Thank you very much Styopa, I am working on server that was installed by person no longer in the company. I don't know if Map modules was originally installed. I am using Ubuntu 10.04.4 TLS. here is part of my current configuration: upstream backend { server alice.fqdn.com:80; } # Note

Nginx 1.6.2 - Redirect users base on 4 digits number provide

2014-10-02 Thread mottycruz
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 som