Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

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

Please check the diagram:

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

ProxyPreserveHost On
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:

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:26 AM.

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