Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reverse Proxy + header
- To: nginx-ru@xxxxxxxxx
- Subject: Reverse Proxy + header
- From: "Logioniz" <nginx-forum@xxxxxxxx>
- Date: Wed, 03 Aug 2011 12:48:22 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=SJ+PR0Z661u4RP/wm1a1woVMH/7pe0uHvBhUsCx8g+4=; b=pUPYYVyxSxm02qpm+5fQW3eoZOEthOSjb8Ge9zs0hM6yRzDI2Hko+k92Ci/5el2e/53mcd1D5WkgRXcoPYVhS4IB838OY+Loa+fTH91B4nfDVx5e81dq+ppLLHCYmU3u;
Можно ли в поле proxy_pass подставить
значение, которое нужно взять из
заголовка в http пакете, пример:
http packet:
get ...
host: ...
Accept: ...
...
MyHeader: qwe.ru
<body>
Можно ли взять значение поля MyHeader (это
qwe.ru) и подставить его в proxy_pass ?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,213323,213323#msg-213323
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|