ПРОЕКТЫ 


  АРХИВ 


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:49:02 +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=w15STeoA9Z+pAGVSfkzSSXjn9p/koiYpr1OAS3QDy+M=; b=ugU4aGTPWC/RigZ60HSwcFo1XAo3McvIMXVmVW0Umg0+ht6PSWMHq/gxtoehNHie7w i8e++WSVDSiwpTo+SeJN2rzWDUy+4/Z2fCLgwShozm5JlZTYotskjdzxrRWjwc74+Y3y ONxQ8Iuu78MCaHCAgtlpz7tY5tdQ/nQaXSB2k=
  • 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=Wph6axoQWAnQvEFvYVpswgi65HEMmz2NoTbC3pK3Ji+yApl4AhoX3pArqrPDQvQ61Y IiS4F7zN/McFGRj6/iKSXk1kZyo/2nkhmYdCpoJFZ+cT/+Mi4d3Ktk4zaf0lHqbkEDV4 ZBQftDQQ7QL/Z9xM32WeVXAc/dIj1XRpEDE7I=
  • In-reply-to: <AANLkTikHF7HjYTGPkXVuizgB474cw_kJjTeTdFwkZko5@xxxxxxxxxxxxxx>
  • References: <AANLkTin6gbdhqmzcNekBp04Pu86Rc1h0DJXOXhFU8Vip@xxxxxxxxxxxxxx> <AANLkTikHF7HjYTGPkXVuizgB474cw_kJjTeTdFwkZko5@xxxxxxxxxxxxxx>

-?location ^~ /jboss1
+location ^~ /jboss1/
?
- location ^~ /jboss2
+?location ^~ /jboss2/

???? ???? ??????

14 ?????? 2011??. 16:37 ???????????? ??????? ?????????? <partizan4ik@xxxxxxxxx> ???????:
?????? ??????, ?? ?????? ????? ??? ?????????, ?? ??? ??...

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.