Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Feb 17, 2011 4:18 am 
Offline
Newbie

Joined: Wed Feb 16, 2011 4:33 pm
Posts: 2
Website: http://progmaatic.com
Location: Software ENgineer
Hi,

I have setup apache to proxy to nginx. but its not working.

Code:
<VirtualHost 74.207.234.113:80>
     ServerAdmin admin@teampdn.com
     ServerName develop.teampdn.com

     ProxyPass / http://localhost:8686/
     ProxyPassReverse / http://localhost:8686/

     # Uncomment the line below if your site uses SSL.
     #SSLProxyEngine On
</VirtualHost>


my nginx is running on 8686.

But develop.teampdn.com takes me to my default apache page, but develop.teampdn.com:8686 is taking me to the correct location.

Definitely I am doing something wrong, please help me finding it.

Thanks :)


Top
   
 Post subject:
PostPosted: Thu Feb 17, 2011 9:33 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:45 pm
Posts: 63
Do you have mod_proxy installed and loaded?

This is a unusual config; nginx-->Apache backend is much more common.


Top
   
 Post subject:
PostPosted: Fri Feb 18, 2011 8:42 am 
Offline
Newbie

Joined: Wed Feb 16, 2011 4:33 pm
Posts: 2
Website: http://progmaatic.com
Location: Software ENgineer
Thanks for your reply.

I haven't worked with nginx before. This is my first time.

I am following this guide: http://library.linode.com/web-applications/project-management/redmine/ubuntu-10.04-lucid to install redmine.

I have used proxy , proxy_http for proxy service, there is no mod_proxy installed, hence not loaded.

Can you please shed some light on "nginx-->Apache backend is much more common."

Thanks.


Top
   
 Post subject:
PostPosted: Fri Feb 18, 2011 9:57 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:45 pm
Posts: 63
Try using <VirtualHost develop.teampdn.com:80> or <VirtualHost *:80>

Since Apache is a well-supported and powerful application server, it often sits at the backend. Nginx can proxy back and handle static.

The guide instructs you how to install redmine with nginx, but the proxying section is just to facilitate easily bolting the app onto an existing Apache installation. Like if you were working on a LAMP server. If you're not using Apache already it's redundant, and nginx alone is a great front end server.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group