On 5/7/2018 11:25 PM, UPPALAPATI, PRAVEEN wrote:

> If I add ssl termination to the config:
>
> listen http_proxy-1000
>     bind *:1000 ssl  test.pem
>     mode http
>     option httplog
>     http-request set-uri https://%[url_param(redirHost)]%[capture.req.uri]
>     option http_proxy
>
> I get :
> http-9876~ bk_9876/<NOSRV> 0/0/1/-1/2 502 211 - - PH-- 1/1/0/0/0 0/0 "GET 
> /test/test.txt?idnsredirHost=<destinationhost>:5300 HTTP/1.1"

In your listen config, you are using a URL parameter called redirHost,
but the log shows that the request has idnsredirHost.  I think this
mismatch is a problem.

Thanks,
Shawn


Reply via email to