Welcome! Log In Create A New Profile

Advanced

Reverse Proxy + header

August 03, 2011 12:48PM
Можно ли в поле proxy_pass подставить значение, которое нужно взять из заголовка в http пакете, пример:

http packet:
get ...
host: ...
Accept: ...
...
MyHeader: qwe.ru

<body>

Можно ли взять значение поля MyHeader (это qwe.ru) и подставить его в proxy_pass ?
Subject Author Posted

Reverse Proxy + header

Logioniz August 03, 2011 12:48PM

Re: Reverse Proxy + header

Igor Sysoev August 03, 2011 12:52PM

Re: Reverse Proxy + header

Logioniz August 03, 2011 12:59PM

Re: Reverse Proxy + header

Igor Sysoev August 03, 2011 01:26PM

Re: Reverse Proxy + header

Logioniz August 03, 2011 01:56PM

Re: Reverse Proxy + header

Igor Sysoev August 03, 2011 03:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 50
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready