Welcome! Log In Create A New Profile

Advanced

Multiples proxy for 1 servername

ceooph
March 12, 2013 07:38AM
Hi all,

We do reverse proxy to access from internet to some documentation
filtering by ip address. These documentations are hosted on commercials
portals.
For 1 base we are often redirect between 2 or 3 (sometimes 6) servers.
(www.exemple.com -> secure1.exemple.com -> secure2.exemple.com ->
auth.exemple.com -> go.exemple.com -> www.exemple.com)
And we have access to more than 50 bases !
Do you know if with nginx it's possible to do proxy_pass (and
proxy_redirect) to these server one 1 virtual name ?

I want to write something like this

base1.mydomain.com
proxy_ www.exemple.com
proxy_ secure1.exemple.com
.....

base2.mydomain.com
proxy_ www.exemple2.com
.....

I try it with different location for each server but it's doesn't work.

Thanks in advance for your help.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Multiples proxy for 1 servername

ceooph March 12, 2013 07:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready