Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
вопрос по переменн ым
- To: nginx-ru@xxxxxxxxx
- Subject: вопрос по переменн ым
- From: Dmitry Sukhodoyev <raven428@xxxxxxxxx>
- Date: Tue, 11 Aug 2009 18:01:33 +0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=0JdlForYKYPCEsbocnVWeJrjEuBtbUlbuF9esiM9vx0=; b=m+7/oqmZrhBQvC3dSyPfhF7l4eUbBoxfRBuO2ZylKbZY5U9o1b487PsKAqD277+0tR 5ZCnWB4jiiPqVkt4hakrxFM3tAAL7bXzrhdFiZE94xS8eX7DQGnLxBA73EX/F/rpGSAo 2Wo6fwxD9ZdWEsiGNBox62N3GWjHHdp2gNWVI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ghaQNqcZAi+QaNcrcT7lUxBHI/1iGbXEiT9mqv0b60yyXGnvJCjpE72i50em7+CtJY QzPFfKUoMVfDqx9Dl/R1QvXu0W9bgI260JPX15n3+76iG3c1FjJfPl+Pke/7jwlTdv4q j6H9pXRqWDVOFpvq6FsmO9To6lMeuUYRKqjNc=
так не получится, да? а чего-нибудь похожее возможно изобразить?
=== кусь ===
server {
set $vhost domain.com;
set $bhost backend-in.loc;
set $bport 9090;
server_name $vhost;
listen 1.2.3.4:80;
location / {
proxy_pass http://$bhost:$bport;
proxy_set_header Host $vhost:$bport;
proxy_redirect http://$vhost:$bport/ http://$vhost/;
}
}
=== кусь ===
|