@@ -239,14 +239,14 @@ Necessary to activate cache.
...
@@ -239,14 +239,14 @@ Necessary to activate cache.
``enable_cache`` is an optional parameter.
``enable_cache`` is an optional parameter.
backend-active-check-*
health-check-*
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
This set of parameters is used to control the way how the backend checks will be done. Such active checks can be really useful for `stale-if-error` caching technique and especially in case if backend is very slow to reply or to connect to.
This set of parameters is used to control the way how the backend checks will be done. Such active checks can be really useful for `stale-if-error` caching technique and especially in case if backend is very slow to reply or to connect to.
`backend-active-check-http-method` can be used to configure the HTTP method used to check the backend. Special method `CONNECT` can be used to check only for connection attempt.
`health-check-http-method` can be used to configure the HTTP method used to check the backend. Special method `CONNECT` can be used to check only for connection attempt.
Please be aware that the `backend-active-check-timeout` is really short by default, so in case if `/` of the backend is slow to reply configure proper path with `backend-active-check-http-path` to not mark such backend down too fast, before increasing the check timeout.
Please be aware that the `health-check-timeout` is really short by default, so in case if `/` of the backend is slow to reply configure proper path with `health-check-http-path` to not mark such backend down too fast, before increasing the check timeout.
"description":"Type of slave. If redirect, the slave will redirect to the given url. If zope, the rewrite rules will be compatible with Virtual Host Monster. Implemented are default, zope, redirect, notebook and websocket, not implemneted is eventsource.",
"description":"Type of slave. If redirect, the slave will redirect to the given URL. If zope, the rewrite rules will be compatible with Virtual Host Monster. Implemented are default, zope, redirect, notebook and websocket, not implemneted is eventsource.",
"enum":[
"enum":[
"",
"",
"zope",
"zope",
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
"type":"string"
"type":"string"
},
},
"https-url":{
"https-url":{
"description":"HTTPS Url of the backend if it is diferent from url parameter",
"description":"HTTPS URL of the backend if it is different from url parameter",
"pattern":"^(http|https|ftp)://",
"pattern":"^(http|https|ftp)://",
"title":"HTTPS Backend URL",
"title":"HTTPS Backend URL",
"type":"string"
"type":"string"
...
@@ -224,8 +224,8 @@
...
@@ -224,8 +224,8 @@
"title":"Authenticate to backend",
"title":"Authenticate to backend",
"type":"string"
"type":"string"
},
},
"backend-active-check":{
"health-check":{
"title":"Backend Active Check",
"title":"Health Check",
"description":"Enables active checks of the backend. For HTTP level checks the HTTP code shall be 2xx or 3xx, otherwise backend will be considered down.",
"description":"Enables active checks of the backend. For HTTP level checks the HTTP code shall be 2xx or 3xx, otherwise backend will be considered down.",
"enum":[
"enum":[
"false",
"false",
...
@@ -234,8 +234,8 @@
...
@@ -234,8 +234,8 @@
"default":"false",
"default":"false",
"type":"string"
"type":"string"
},
},
"backend-active-check-http-method":{
"health-check-http-method":{
"title":"Backend Active Check HTTP Metod",
"title":"Health Check HTTP Metod",
"description":"Selects method to do the active check. CONNECT means that connection will be enough for the check, otherwise it's HTTP method.",
"description":"Selects method to do the active check. CONNECT means that connection will be enough for the check, otherwise it's HTTP method.",
"enum":[
"enum":[
"GET",
"GET",
...
@@ -246,14 +246,14 @@
...
@@ -246,14 +246,14 @@
"default":"GET",
"default":"GET",
"type":"string"
"type":"string"
},
},
"backend-active-check-http-path":{
"health-check-http-path":{
"title":"Backend Active Check HTTP Path",
"title":"Health Check HTTP Path",
"description":"A path on which do the active check, unused in case of CONNECT.",
"description":"A path on which do the active check, unused in case of CONNECT.",
"default":"/",
"default":"/",
"type":"string"
"type":"string"
},
},
"backend-active-check-http-version":{
"health-check-http-version":{
"title":"Backend Active Check HTTP Version",
"title":"Health Check HTTP Version",
"description":"A HTTP version to use to check the backend, unused in case of CONNECT.",
"description":"A HTTP version to use to check the backend, unused in case of CONNECT.",
"enum":[
"enum":[
"HTTP/1.1",
"HTTP/1.1",
...
@@ -262,26 +262,26 @@
...
@@ -262,26 +262,26 @@
"default":"HTTP/1.1",
"default":"HTTP/1.1",
"type":"string"
"type":"string"
},
},
"backend-active-check-timeout":{
"health-check-timeout":{
"title":"Backend Active Check Timeout (seconds)",
"title":"Health Check Timeout (seconds)",
"description":"A timeout to for the request to be fulfilled, after connection happen.",
"description":"A timeout to for the request to be fulfilled, after connection happen.",
"default":"2",
"default":"2",
"type":"integer"
"type":"integer"
},
},
"backend-active-check-interval":{
"health-check-interval":{
"title":"Backend Active Check Interval (seconds)",
"title":"Health Check Interval (seconds)",
"description":"An interval of backend active check.",
"description":"An interval of health check.",
"default":"5",
"default":"5",
"type":"integer"
"type":"integer"
},
},
"backend-active-check-rise":{
"health-check-rise":{
"title":"Backend Active Check Rise",
"title":"Health Check Rise",
"description":"Amount of correct responses from the backend to consider it up.",
"description":"Amount of correct responses from the backend to consider it up.",
"default":"1",
"default":"1",
"type":"integer"
"type":"integer"
},
},
"backend-active-check-fall":{
"health-check-fall":{
"title":"Backend Active Check Fall",
"title":"Health Check Fall",
"description":"Amount of bad responses from the backend to consider it down.",
"description":"Amount of bad responses from the backend to consider it down.",