4 messages in ru.sysoev.nginxRe: nginx with tomcat
FromSent OnAttachments
Robert GabrielAug 29, 2008 2:25 am 
Sergej KandylaAug 29, 2008 2:44 am 
Robert GabrielAug 29, 2008 3:00 am 
Igor SysoevAug 29, 2008 3:01 am 
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: nginx with tomcatActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Aug 29, 2008 3:01:26 am
List:ru.sysoev.nginx

On Fri, Aug 29, 2008 at 12:45:18PM +0300, Sergej Kandyla wrote:

Robert Gabriel wrote:

Does anyone know if nginx is possible to work with tomcat, tomcat as somekind of a proxy back-end, similar idea to php-fastcgi?

work excellently.

for example:

location / { rewrite ^/$ /tomcatapp/ redirect; }

location /tomcatapp { proxy_pass http://localhost:9080/tomcatapp; <skip> }

or: location / { proxy_pass http://localhost:9080/tomcatapp;

Probably

- proxy_pass http://localhost:9080/tomcatapp; + proxy_pass http://localhost:9080/tomcatapp/;

<skip> }