ПРОЕКТЫ 


  АРХИВ 


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: proxy_set_header Host


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: proxy_set_header Host
  • From: Vasil Mikhalenya <bazilek@xxxxxxxxx>
  • Date: Wed, 25 May 2011 12:31:37 +0300
  • 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:content-transfer-encoding; bh=jrANxgUNAVs3r+gVmK0NXWSP2r8jLy+Sb2W6nOh9h+I=; b=CmSylois4HDvvubwfAcoAd/eDHyuKWeQ6EYvV9GoIbIYStBm6mkGUsaviof+Duk9n1 kUZLeB8Y70v3v80K7Q9zfVEjkAQYGsTGwRcGvoBCn3oIbg7Tqe7+9B/m+rdmJxN1Ezwq FUtdI1SZBPA9/jq9VSR9cbnnreRXhpGBFb6xI=
  • 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:content-transfer-encoding; b=ICbKLsSbElmT8+mR740r8K8K+AzO6tv3vZjBKvrc4q4lVNgQOnFn8r8lN3Z3x1UeUp 65tAlVWw7U+/YAc7Q9dVDCiby9aKi/+D9l8T6evxAjmkF2gTxIIETGdDadxT5V7CsASq +GAOnH90vlHrVC+rzL4FiQuPfH8RAnrSQmiR8=
  • In-reply-to: <20110525061607.GG59490@xxxxxxxxx>
  • References: <BANLkTikkaodWajH-TRc4WD6_dxeWf+GSiA@xxxxxxxxxxxxxx> <20110525061607.GG59490@xxxxxxxxx>

2011/5/25 Igor Sysoev <igor@xxxxxxxxx>:
> $host это переменная в которой нет порта.
> Если нужен Host, пришедший от клиента, то можно использовать $http_host.
>
>
> --
> Igor Sysoev
>


Спасибо.
Просто во всех примерах фигурирует $host

-- 
Best regards,
Vasil Mikhalenya
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.