ПРОЕКТЫ 


  АРХИВ 


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]

proxy_pass с переменной


  • To: nginx-ru@xxxxxxxxx
  • Subject: proxy_pass с переменной
  • From: Vladislav Vorobiev <mymir.org@xxxxxxxxxxxxxx>
  • Date: Mon, 26 Jan 2009 20:11:55 +0100
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=JxtCg1fZsGH6ONoIcA9isMerNkE9jQL97/Gag5cwKTg=; b=BUhvB7HHEqWwHE/UiIJbmhA7bPLl2X5RlUKPRHdPGMs4m/g3IidhF5SkINMXBZqbpm ceKz7P7BKV/dC5GbIuG48EappRDtX09dp0YvHIOTDyJ7k+G2QCbjg68XvkdtSUM0wtUu h8ldkSAuJuFEojL/4k15SZ74KQJ+1PH/Z2P6A=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=j9HkDY5T999w9PdMqXAItXZFmg2RDIYm67tq6CIpy9MPsWJ/LQT5iKbwNgs9uESdPl ZI9PpTSPHDfl9BPqpvlUHBu9W4JwE0MJcUKjJP0+dDJGS4o8adjHxXOITj3p4QulRFS0 nhfe6SK/ihibP27CqWkKOGjC23IQADboolahE=

Не получается  proxy_pass с переменной, кто подскажет почему?

server {
server_name *.domain;
listen 80;
    location / {
    set $dom ru;
    proxy_pass
    
http://localhost:8080/VirtualHostBase/http/$dom.domain:80/pfad/VirtualHostRoot;
  }
}

Влад


 




Copyright © Lexa Software, 1996-2009.