nginx with tomcat

Sergej Kandyla sk.paix at gmail.com
Fri Aug 29 13:45:18 MSD 2008


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;
                  <skip>
        }

  

-- 
Best Wishes,
PAIX-UANIC | SK3929-RIPE






More information about the nginx mailing list