4 type = lib.types.enum [ "tls" "no-tls" ];
7 Enable or disable TLS. If true (enabled) the key and
8 certificate must be configured for nghttpx.
10 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
15 sni-fwd = lib.mkOption {
16 type = lib.types.bool;
19 When performing a match to select a backend server, SNI host
20 name received from the client is used instead of the request
21 host. See --backend option about the pattern match.
23 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
29 type = lib.types.bool;
32 Enable API access for this frontend. This enables you to
33 dynamically modify nghttpx at run-time therefore this feature
34 is disabled by default and should be turned on with care.
36 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
41 healthmon = lib.mkOption {
42 type = lib.types.bool;
45 Make this frontend a health monitor endpoint. Any request
46 received on this frontend is responded to with a 200 OK.
48 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f
53 proxyproto = lib.mkOption {
54 type = lib.types.bool;
57 Accept PROXY protocol version 1 on frontend connection.
59 Please see https://nghttp2.org/documentation/nghttpx.1.html#cmdoption-nghttpx-f