ПРОЕКТЫ 


  АРХИВ 


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: масштабирование


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: масштабирование
  • From: Anton Bessonov <exelib@xxxxxxxxxxxxxx>
  • Date: Thu, 01 Jul 2010 15:21:09 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=PZa0D5f3MDsw00m5IyU/fC36I4w+lo7oe2lwzRd0kmU=; b=XoZ+iryd93ix79wAL8eJVyVotOsS3d0MMLGbg5nbcROrdCJAWqaKCOKw+I4ujxUIHC UNRzCAwHTS0/6UluYUkT88EyJKTcHgyXqVykiDoXtm7dVKIPdSxKYaKjFk392l2oJWd1 krLWwAJV98E/uPpwnarPX2UGgo6qMPjMb3FZ8=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xoycDitN5MT9ir40sy55PeAYPCzeVeozAyuFMwHBqyVYE+aFSkldOjs9PX46aBx+v5 ZIqrGgIbCbU4PCbn+6qiOWu3vRKOMuEwDOoKBbLg/Ro5hff//XT+rMBgX2Ei2zqyGt9y SzyXEPfiUAWA2hOsAiwGglgE3eKorWwfhn1JQ=
  • In-reply-to: <20100629090727.GA51498@xxxxxxxxxxxxx>
  • References: <78c9807cb88e1e60d8005ca70d8a7c3f.NginxMailingListRussian@xxxxxxxxxxxxxxx> <20100629090727.GA51498@xxxxxxxxxxxxx>

Мне кажется, что автор хотел подобное:


server {
    server_name  mysite.ru;

    location /dir1/ {
        proxy_set_header Host $http_host;
        proxy_pass  192.168.0.1;
    }

    location /dir2/ {
        proxy_set_header Host $http_host;
        proxy_pass   192.168.0.2;
    }

    location /dir3/ {
        proxy_set_header Host $http_host;
        proxy_pass   192.168.0.3;
    }
}






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


 




Copyright © Lexa Software, 1996-2009.