Welcome! Log In Create A New Profile

Advanced

Reverse proxy server

Posted by nah4891 
Reverse proxy server
January 07, 2013 12:39AM
Hi, I have a question.

I have try to make reverse proxy server with Nginx. If a client try to connect to "www.example.com/ex1/", I want Nginx connect to "server A" (re-diection). And more, If a client try to connect to "www.example.com/ex2/", I want Nginx connect to "server B". In my implementation, I have successed the frist case, but the second case, when the client must have connected to "www.example.com/ex1/ex2/", the Nginx could connect to server B. Must I use hierarchical URL certainly for connecting to multiple server?

Thanks a lot.



Edited 1 time(s). Last edit at 01/07/2013 12:41AM by nah4891.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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