Welcome! Log In Create A New Profile

Advanced

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

October 02, 2014 12:14PM
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: This following "server" section allows Secure SSL reverse proxy and controlled redirecting.
server {
listen 443;
server_name bob;
ssl on;
ssl_certificate /usr/local/nginx/certs/apps.fqdn.com.crt;
ssl_certificate_key /usr/local/nginx/certs/bob-apps.key;
server_name_in_redirect on;
cust_app_version_routing_data_file /usr/local/nginx/conf/cust_app_version_routing.dat;
cust_app_version_routing_apps app1,app2,app3;
access_log logs/host.access.log main;

proxy_intercept_errors on;
error_page 404 /myportal/Account/LogOn;
# Main location
location / {

my questions is can I add a second "upstream backend" and called "upstream backend2"? I would like to route specific 4 digits number to "upstream backend2"? would this is a possibility?
Subject Author Posted

Nginx 1.6.2 - Redirect users base on 4 digits number provide

mottycruz October 02, 2014 10:51AM

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

Styopa Semenukha October 02, 2014 11:12AM

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

mottycruz October 02, 2014 12:14PM

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

Styopa Semenukha October 02, 2014 01:48PM

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

mottycruz October 03, 2014 12:33PM

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

Styopa Semenukha October 03, 2014 03:32PM

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

mottycruz October 06, 2014 12:24PM

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

Styopa Semenukha October 06, 2014 10:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
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