3 messages in ru.sysoev.nginxRe: Proxy server configuration
FromSent OnAttachments
just startingMar 23, 2008 12:14 pm 
Maxim DouninMar 23, 2008 2:18 pm 
just startingMar 23, 2008 3:19 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Proxy server configurationActions...
From:just starting (just@public.gmane.org)
Date:Mar 23, 2008 3:19:18 pm
List:ru.sysoev.nginx

Hi Maxim,

Did it myself :). I had tried that b4 without success. So, i thought i was doing something wrong.

Then killed all the process and restarted it.

Voila, it started working.

Anyway thanks a lot for your assistance.

Thanks, Rakesh.

PS: if you know you are doing the right thing and it doesn't seem to working, kill nginx process and restart or better check the config file with nginx...cant recall the command though :)

On 3/24/08, Maxim Dounin <mdou@public.gmane.org>
wrote:

Hello!

On Mon, Mar 24, 2008 at 12:44:25AM +0530, just starting wrote:

hi,

Can someone specify how to configure nginx as proxy server for:

1. apache http server running on port 8000 2. apache tomcat server running on port 8080

What I want as end result is:

http://myip/ should point to the root directory of apache http : http://127.0.0.1:8000 http://myip/test should point to some app hosted in tomcat like : http://127.0.0.1:8080/testsite

Something like:

location / { proxy_pass http://127.0.0.1:8000; } location /test { proxy_pass http://127.0.0.1:8080/testsite; }

Please refer to http://wiki.codemongers.com/ for more information.