Hi Cerrie: I was wondering if you were successful with your changes. —Ray
On Thu, Jun 23, 2016 at 10:19 AM, Cerrie Russell <cerr...@gmail.com> wrote: > Hello, > > Hoping to get some help please. > > I have an issue with httpchk whereby the layer7 check can only see the 301 > which is redirecting to SSL page. So it cannot detect a 500 for example. > > Is there a way around this? > > SNIP > > backend example-com > mode http > balance source > option forwardfor > > option httpchk OPTIONS /example/page HTTP/1.0 > http-check expect rstatus (2|3)[0-9][0-9] > > server web01 0.0.0.0:80 check inter 5000 rise 3 fall 3 > server web02 0.0.0.0:80 check inter 5000 rise 3 fall 3 > > SNIP > > And we see: > > Layer7 check passed: HTTP status check returned code <302> > > When testing myself: > > # curl -I 0.0.0.0/example/page > HTTP/1.1 302 Found > Date: Thu, 23 Jun 2016 14:18:02 GMT > Server: Apache > Location: https://www.example.com/example/page > Content-Type: text/html; charset=UTF-8 > > So we are seeing the 301/2 to HTTPS/SSL. > > Any ideas at all? > > Thanks. > > C. > -- Raymond Cote, President voice: +1.603.924.6079 email: rgac...@appropriatesolutions.com skype: ray.cote