LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2012, 04:03 AM   #1
thuananh
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Nginx and node.js create proxy server


Hi all,
i am a linux newbie , i have a question :

i have two server A and B , on server B i store any my websites (a.com, b.com, ....)

i want to install Nginx and node.js on server A to do bellow task :

+ create a proxy server(nginx) and web-server(node.js) in server A

+ all request from my client to server B have to pass through proxy server in server A , proxy will cached all website that server B return and transfer data to node.js
client <----> server A (proxy server) <---> server B
client <----> other server or other websites

+ so, server B (suppse : server A have never dead) may be dead i still sent my request to server B. But in this case proxy server in server A will switch my request to Node.js webserver that will return the data i need !
client <----> server A (proxy server <--> node.js webserver) server B

so how can i do ?

thank for help !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Create your own Proxy Server instantly LXer Syndicated Linux News 0 08-23-2010 01:10 PM
All traffic showed as proxy after installing nginx proxy to apache centosfan Linux - Server 0 10-25-2008 08:41 AM
I want to create a proxy server lateralus01 Linux - Server 9 01-28-2008 06:27 AM
Create A Proxy Server frankprogramer Linux - Software 0 05-03-2004 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration