Example configuration

From Lundman Wiki
Jump to: navigation, search
cluster { 
       name = "www-ssl"
       ifname = "fxp0"
       protocol tcp
       binary off
       sticky on
       listen 0.0.0.0:443
       member 192.168.1.10:443
       member 192.168.1.11:443
       member 192.168.1.12:443
       type tcp-close

       script {
              ssl on
              send "HEAD / HTTP/1.0%0D%0A%0D%0A"
              expect "HTTP/1.? 200 *"
       }

       timeout     = 5
       frequency   = 5
       retries     = 0
       retry_delay = 0
}