Prev: Next: Up: Input object[Contents][Index]


10.5.4.4 Backend

The following attributes are always present in each backend object:

alive

Whether or not this backend is alive.

conn_to

Connection timeout for this backend (seconds).

enabled

Whether or not this backend is enabled.

io_to

I/O timeout for this backend (seconds).

priority

Priority value assigned to this backend.

protocol

Protocol used by this backend: either ‘http’ or ‘https’.

type

Backend type. One of: ‘acme’, ‘backend’, ‘control’, ‘redirect’.

ws_to

Websocket timeout (seconds).

Depending on the backend type, the following attributes may be present:

acme

An object of the following structure:

path

Directory where ACME challenges are stored.

backend

Object:

address

Backend address.

redirect

Object:

url

URL to redirect to.

code

HTTP code for redirection responses. One of: 301, 302, 307.

redir_req

Boolean: whether to append the original request path to the resulting location.

If backend statistics is enabled (see BackendStats), the stats object will be present, with the following attributes:

request_count

Total number of requests processed by this backend.

request_time_avg

Average time per request, in nanoseconds.

request_time_stddev

Standard deviation of the above.