Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: on demand proxy_store
- To: nginx-ru@xxxxxxxxx
- Subject: Re: on demand proxy_store
- From: "Mykola S. Grechukh" <gns@xxxxxxxxxxxx>
- Date: Wed, 17 Nov 2010 15:00:03 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=mUqXqbtKOex486cyVY2+l7mvi6/Z2d6QyUeZDBotO5o=; b=KiA0T2x/gvkJWuJ9djkioJ5i/PZUGWBGW0JJ7MK7CEn56HBvKUeNEV3gVPv11p6UvW LKAaSodJxsx6LIakF+P0jglTa8X/G710wJUxtwqKV8VBklKPmbWU7ZZg258/gOxiZdIC /kG51BpZyFHlil5yGwqllwhf1IPe4N+VFaVQ0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=PWXeiWhnEw9+RwxUJHuPZRa5m4DvfLscbenSsILQIaborirytYyvG+UthC9lV9xdQB nkGJSk3Z1SjJMEPH0kzAGWJvkgJdSZHI2EW1pd2xv9LiCfED9h0fV9930xXd/yYSpnSm qKzs+uauum14+zgaPjCWc/vG2H/nko71k7BlQ=
- In-reply-to: <1289997912.7475.13.camel@vase>
- References: <1289995588.7475.6.camel@vase> <201011171442.01321.isk@xxxxxxxxxxxxxxxxx> <1289997912.7475.13.camel@vase>
2010/11/17 Vasiliy G Tolstov <>:
> Без апстрима я такое тоже делал, спасибо :). Просто хотел сделать
> failover через апстрим, мало ли маршрут до яндекса ляжет :)
upstream backend {
server localhost:3101;
server localhost:3102;
server localhost:3103;
server localhost:3104;
}
server {
listen localhost:3101;
proxy_pass http://yandex
}
server {
listen localhost:3102;
proxy_pass http://tindex
}
server {
listen localhost:3103;
proxy_pass http://lunix
}
server {
listen localhost:3104;
proxy_pass http://slunix
}
server {
listen 80;
.... something about caching ...
proxy_pass http://backend;
}
--
Mykola Grechukh
RISC Group IT Solutions
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|