5 type = lib.types.enum [
11 Enable or disable TLS. If true (enabled) the key and
12 certificate must be configured for nghttpx.
14 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
19 sni-fwd = lib.mkOption {
20 type = lib.types.bool;
23 When performing a match to select a backend server, SNI host
24 name received from the client is used instead of the request
25 host. See --backend option about the pattern match.
27 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
33 type = lib.types.bool;
36 Enable API access for this frontend. This enables you to
37 dynamically modify nghttpx at run-time therefore this feature
38 is disabled by default and should be turned on with care.
40 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
45 healthmon = lib.mkOption {
46 type = lib.types.bool;
49 Make this frontend a health monitor endpoint. Any request
50 received on this frontend is responded to with a 200 OK.
52 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
57 proxyproto = lib.mkOption {
58 type = lib.types.bool;
61 Accept PROXY protocol version 1 on frontend connection.
63 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f