ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Разный backend в зависимост и от url


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: Разный backend в зависимост и от url
  • From: Евгений Григоренко <partizan4ik@xxxxxxxxx>
  • Date: Fri, 14 Jan 2011 16:37:27 +0600
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=b0Fo/VXIKReZv/k5fIaAMBtNKs7za8Xzqr8cAVvEhiE=; b=hRGra1HmPJyuj2yTRYyajiaTr7SU4Pp6DKWBBErNhoHxm0vOtVY8enrXb3SzJ7iDlO BR/YD5KRO4evSl8w3ccpc7t+BkKy5oaB0sUD0XmoRXiYNrRaA3pM8pRPwCn8CyqT6S1+ UZj41376PHvHd8cosZbZ268eJ311e+TRW5EKM=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ErdqmswYrV3Dgjyyn1ewXrrm5anHYZUyYc7pDe70RJoIX/xzTMHgHQdDIFf0997fu9 fDDq39+5YYt0XJTq8YCMTGp7favEUFdQXkk5fz8WY7y9YMWv71YhZrvDE6aokw8HjhnQ VTB75Yr9A8bRnOhWfoA2TfgZcbrFd2/1xLllE=
  • In-reply-to: <AANLkTin6gbdhqmzcNekBp04Pu86Rc1h0DJXOXhFU8Vip@xxxxxxxxxxxxxx>
  • References: <AANLkTin6gbdhqmzcNekBp04Pu86Rc1h0DJXOXhFU8Vip@xxxxxxxxxxxxxx>

?????? ??????, ?? ?????? ????? ??? ?????????, ?? ??? ??...

location ^~ /jboss1 {
?? ?proxy_pass?http://127.0.0.1:8180/;
}

location ^~ /jboss2 {
?? ?proxy_pass?http://127.0.0.1:8280/;
}

??? ? ?? ? ??? ??????
14 ?????? 2011??. 16:30 ???????????? Denis Kot <denis.kot@xxxxxxxxx> ???????:
????? ? ???????? ????????? ???????, ?? ?? ???? ?????
???? 2 jboss ?? ????? ????? ? nginx ????? ????
????????? ???????? ?????? ?????? ? ?????? ?? ??? ???
?????????????????. ???????? ?????? ?? ???????? ?? ?????????? ??????
???????. ??????? ? ??? ??? ???????? ?????????? ???? ???. ????? ???????
???-?? ?????:
site.com/jboss1 - proxy_pass http://127.0.0.1:8180/;
site.com/jboss2 - proxy_pass http://127.0.0.1:8280/;

Denis Kot
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.