Re: Mix option httpchk and ssl-hello-chk
On Fri, Sep 26, 2014 at 04:37:17PM +0200, Kevin COUSIN wrote: > Here is my conf : > > backend bk_OWAP-SSL > timeout server 30s > timeout connect 5s > mode http > balance roundrobin > > option forwardfor > #option ssl-hello-chk > option httplog > #option httpchk > #hash-type consistent > > server PP-OWAP01001 172.21.13.79:443 ssl weight 1 check > verify none > > > I just want to check the HTTP response (200 OK or 302) of the backend > server. So that's simple, just remove "option ssl-hello-chk" and enable "option httpchk" instead. It will enable HTTP checks to your server, and since your server is declared with "ssl", the check will be done over SSL. Regards, Willy
Re: Mix option httpchk and ssl-hello-chk
Le 22/09/2014 15:44, Baptiste a écrit : On Mon, Sep 22, 2014 at 3:33 PM, Kevin COUSIN wrote: Hi list, Can I mix the option httpchk and ssl-hello-chk to check the health of an HTTPS website ? Thanks a lot Kevin C. Hi Kevin, No, you can't. It would be easier to answer you with your backend configuration! That said, you can have a look at the check-ssl option, which may help. Baptiste Hi Baptiste, Here is my conf : backend bk_OWAP-SSL timeout server 30s timeout connect 5s mode http balance roundrobin option forwardfor #option ssl-hello-chk option httplog #option httpchk #hash-type consistent server PP-OWAP01001 172.21.13.79:443 ssl weight 1 check verify none I just want to check the HTTP response (200 OK or 302) of the backend server. Regards, Kevin C
Re: Mix option httpchk and ssl-hello-chk
On Mon, Sep 22, 2014 at 3:33 PM, Kevin COUSIN wrote: > Hi list, > > Can I mix the option httpchk and ssl-hello-chk to check the health of an > HTTPS website ? > > Thanks a lot > > > >Kevin C. > Hi Kevin, No, you can't. It would be easier to answer you with your backend configuration! That said, you can have a look at the check-ssl option, which may help. Baptiste