"description":"The protocol option indicates if we will use HTTP or TCP proxying",
"type":"string",
"default":"http",
"enum":[
"http",
"tcp"
]
},
"load-balancing":{
"title":"Load balancing algorithm",
"description":"The possible values are ROUND_ROBIN, RANDOM, LEAST_LOADED and POWER_OF_TWO. Defaults to ROUND_ROBIN",
"type":"string",
"default":"ROUND_ROBIN",
"enum":[
"ROUND_ROBIN",
"RANDOM",
"LEAST_LOADED",
"POWER_OF_TWO"
]
},
"load-metric":{
"title":"Load metric",
"description":"Metric evaluating the load on the backend. available options: connections, requests, connection_time.",
"type":"string",
"default":"connections",
"enum":[
"connections",
"requests",
"connection_time"
]
},
"frontend-dict":{
"title":"Sozu frontends configuration",
"description":"A cluster is a set of frontends, routing rules, and backends.",
"patternProperties":{
".*":{
"properties":{
"address":{
"title":"TCP listener",
"description":"TCP address listener (ip and port). Something like: 0.0.0.0:8080",
"type":"string"
},
"hostname":{
"title":"Hostname",
"description":"host name of the cluster.",
"type":"string"
},
"path":{
"title":"Path",
"description":"A routing rule for incoming requests. The path of the request must match it. Can be a prefix (default), a regex, or a strictly equal path.",
"type":"string",
"default":""
},
"path-type":{
"title":"Path type",
"description":"This is useful if \"path\" is set. Values are PREFIX | REGEX | EQUALS # defaults to PREFIX.",
"type":"string",
"default":"PREFIX",
"enum":[
"PREFIX",
"REGEX",
"EQUALS"
]
},
"sticky-session":{
"title":"Sticky session",
"description":"Activates sticky sessions for this cluster.",
"type":"boolean",
"default":false
},
"https-redirect":{
"title":"https redirect",
"description":"Activates automatic redirection to HTTPS for this cluster.",
"type":"boolean",
"default":false
},
"tag-list":{
"title":"Custom tags",
"description":"Key=value list of custom tag to retrieve a frontend with the CLI or in the logs.",