Re: Https configuration

From: Adrian Chapela <achapela.rexistros#gmail.com>
Date: Thu, 04 Dec 2008 09:22:48 +0100


Unai Rodriguez escribió:
>> is there any example of balance https with session persistence ?
>>
>
> Dear Adrian,
>
> I am using stunnel on top of HAProxy.
>

Could you explain me the architecture of your solution ?

I think it could be

|Internet Router| --- 443 port --> stunnel -> HAproxy --- balance petitions to servers on 80, insecure port ?

Is this the solution ?
> HAProxy's configuration (basically balance source + cookies):
>
> -----------------------------------------------------------------
> ...
> balance source
> ...
>
> listen p1 10.123.16.177:80
> mode http
> cookie PK-MAINT-PROD insert indirect nocache
> server 10.123.16.111:8081 10.123.16.111:8081 cookie s1 check inter
> 5000 rise 2 fall 3
> server 10.123.16.112:8081 10.123.16.112:8081 cookie s2 check inter
> 5000 rise 2 fall 3
> server 10.123.16.113:8081 10.123.16.113:8081 cookie s3 check inter
> 5000 rise 2 fall 3
> source 10.123.16.177
> -----------------------------------------------------------------
>
> unai
>
>
Received on 2008/12/04 09:22

This archive was generated by hypermail 2.2.0 : 2008/12/04 09:31 CET