+Support.

With Warm Regards
Ravi Ranjan



On Wed, Jan 4, 2012 at 3:58 PM, Ravi Ranjan <[email protected]> wrote:

>  Hi All,
>
>
>
> Please can some one help me on setting rewrite rule for haproxy ssl.
>
>
>
> I tried a lot but it fails.
>
>
>
> Here is the config:
>
>
>
> listen example_ssl 0.0.0.0:1443
>
>  mode http
>
>         balance roundrobin
>
>         option ssl-hello-chk
>
>         reqadd X-Is-Secure-Request:True
>
>         option httpclose
>
>         rspirep ^Location:\ https://www.example.com/(.*)   Location:\
> https://example.com/\1
>
>         server apigee1 192.168.2.50:80 minconn 32000 maxconn 3200 check
> port 81 inter 30000
>
>         server apigee2 192.168.2.51:80 minconn 32000 maxconn 3200 check
> port 81 inter 30000
>
>
>
> Below is what I wanted:
>
>
>
> Anything for example https://www.example.com/testing should be redirected
> or rewritten to https://example.com/testing
>
>
>
> Please can someone help on this.
>
>
>
> With Warm Regards
>
> Ravi Ranjan
>

Reply via email to