LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2014, 11:11 PM   #1
ITiger
LQ Newbie
 
Registered: Dec 2012
Posts: 3

Rep: Reputation: Disabled
Nginx Reverse proxy on a internal apache reverse server


Please check the diagram:

http://i.stack.imgur.com/puy74.jpg

The Setup:

1) Nginx server are used to map to internal server where the apache is installed.
2) Apache is on internal network which map to other server on same network that has tomcat installed on different port.
3) From internal network i able to test the apache is working fine with its

Code:
ProxyPreserveHost On
ProxyPass
4) From internal network, i able to access the Nginx Reverse Proxy(the nginx server's internal ip), it work fine and able to map until apache and its tomcat mapping.

The problem:
when i access the nginx's external ip from outside(public), i get following error:

Code:
504 Gateway Timeout nginx/1.3
what could be the issue? is there is anything else i need to set on apache or nginx so that i can access it from public?

does the apache's ProxyRequests Off|On will cause this issue? Currently set to Off

any help would be great
 
  


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
Nginx reverse proxy - ip problem donglee Linux - Software 1 01-15-2014 07:43 PM
[SOLVED] Nginx as SSL Reverse Proxy mosiac Linux - Server 6 07-18-2013 03:54 PM
[SOLVED] How to reverse proxy in apache server vignesh4sh Linux - Server 8 11-09-2012 06:26 AM
how i Install nginx As Reverse Proxy Dr.TrYaG Linux - Server 5 07-03-2011 03:49 AM
Nginx like as a reverse proxy for Apache Abadon_ Linux - Server 0 11-13-2009 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:49 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