Nginx + Tomcat

Vitaliy Lisenko vlisenko.3s gmail.com
25 13:59:27 MSK 2010


-- proxy_pass              http://localhost:8180$uri;
+ proxy_pass              http://localhost:8180;

 ?


25  2010 . 12:06  Alexander Petrovsky
<askjuise at gmail.com> :
>   , .
>
>     nginx' tomcat'a   
> /manager   :
>
> start - http://host.ru/manager/html/start?path=/
> stop - http://host.ru/manager/html/stop?path=/
> reload - http://host.ru/manager/html/reload?path=/
> undeploy - http://host.ru/manager/html/undeploy?path=/
>
>   - http://host.ru/manager/html/start?path=/,   
>   (applications).
>
>     tomcat'   8180    .
>    .
>
>  server
> {
>  listen
> 80;
>  server_name host.ru;
>
>  charset utf-8;
>
>  location ~* /manager {
>  client_max_body_size 150m;
>
>  proxy_pass http://localhost:8180$uri;
>  proxy_set_header Host $host;
>  proxy_set_header X-Real-IP $remote_addr;
>  proxy_set_header X-Forwarded-For
> $proxy_add_x_forwarded_for;
>
>  expires 1m;
>  }
>  }
>
> --
>   / Alexander Petrovsky,
>
> ICQ: 350342118
> Jabber: juise at jabber.ru
> Phone: +7 914 8 820 815
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
>


nginx-ru