This is the configuration running on the IADN.COM server.



###################################################################

## ALTERING THIS LICENCE WILL CAUSE LOAD BALANCER TO FAIL #########

License = "XXXX-XXXX-XXXX-XXXX"                           #########

###################################################################


#Dynamic configuration loading

#never comment out "file"

[file]

watch = true


debug = true

logLevel = "DEBUG"

# Accepted values, in order of severity: "DEBUG", "INFO", "WARN", "ERROR", "FATAL", "PANIC"


[retry]

attempts = 30


#[lifeCycle]

# Optional

# Default: 0

# requestAcceptGraceTimeout = "10s"


# Entrypoints to be used by frontends that do not specify any entrypoint.

# Each frontend can specify its own entrypoints.

#

# Optional

#defaultEntryPoints = ["http", "https"]


#Optional whitelist

#whiteListSourceRange = ["xxx.xxx.xxx.xxx"]


# Entrypoints definition


[entryPoints]


[entryPoints.http_only]

address = "10.1.xxx.xxx:80"

compress = true


[entryPoints.http]

address = "10.1.xxx.xxx:80"

compress = true


[entryPoints.http.redirect]

entryPoint = "https"


[entryPoints.https]

address = "10.1.xxx.xxx:443"

compress = true


[entryPoints.https.tls]

minVersion = "VersionTLS12"


[[entryPoints.https.tls.certificates]]

certFile = "C:/a5/ssl/IADN_certificate2.crt"

keyFile = "C:/a5/ssl/iadncom2.key"


[[entryPoints.https.tls.certificates]]

certFile = "C:/a5/ssl/kwikalert_lb_certificate.crt"

keyFile = "C:/a5/ssl/kwikalert_lb.key"


[[entryPoints.https.tls.certificates]]

certFile = "C:/a5/ssl/alphatogo_LB.crt"

keyFile = "C:/a5/ssl/alphatogo_unencrypted.key"


##########################################################################


[frontends]

[frontends.frontend_iadn]

 entryPoints = ["https","http"]

 backend = "backend_iadn"

 passHostHeader = true

[frontends.frontend_iadn.routes.test_1]

 rule = "Host: iadn.com,www.iadn.com"

     

[frontends.frontend_atg]

 entryPoints = ["https"]

 backend = "backend_atg"

 passHostHeader = true

 passTLSCert = true

[frontends.frontend_atg.routes.test_1]

 rule = "Host: alphatogo.com,www.alphatogo.com"


[frontends.frontend_a5v12]

 entryPoints = ["http_only"]

 backend = "backend_a5v12"

 passHostHeader = true

#passTLSCert = true

[frontends.frontend_a5v12.routes.test_1]

 rule = "Host: a5v12.com,www.a5v12.com"


##########################################################################


#Backend definition

[backends]


[backends.backend_iadn]

[backends.backend_iadn.loadBalancer]

 method = "drr"

[backends.backend_iadn.loadBalancer.stickiness]

[backends.backend_iadn.healthcheck]

 path = "/"

 interval = "30s"

[backends.backend_iadn.servers]

[backends.backend_iadn.servers.server1]

 url = "http://127.0.0.1:84"

 weight = 1

[backends.backend_iadn.servers.server2]

 url = "http://127.0.0.1:86"

 weight = 1


[backends.backend_a5v12]

[backends.backend_a5v12.loadBalancer]

 method = "drr"

[backends.backend_a5v12.loadBalancer.stickiness]

[backends.backend_a5v12.healthcheck]

 path = "/"

 interval = "30s"

[backends.backend_a5v12.servers]

[backends.backend_a5v12.servers.server1]

 url = "http://127.0.0.1:88"

 weight = 1


[backends.backend_atg]

[backends.backend_atg.loadBalancer]

 method = "drr"

[backends.backend_atg.loadBalancer.stickiness]

[backends.backend_atg.healthcheck]

 path = "/"

 interval = "30s"

[backends.backend_atg.servers]

[backends.backend_atg.servers.server1]

 url = "http://127.0.0.1:94"

 weight = 1


[infoLog]

filePath = "c:/AlphaLB/AlphaLB_info.log"

format = "common"


[accessLog]

filePath = "c:/AlphaLB/AlphaLB_access.log"

format = "common"

#[accessLog.fields.headers.names]

#"User-Agent" = "drop"


################################################################

# Web configuration backend

###############################################################

#[web]

#[api]

#address = ":8084"