···114114 description = "Path to server SSL certificate key.";
115115 };
116116117117+ http2 = mkOption {
118118+ type = types.bool;
119119+ default = true;
120120+ description = ''
121121+ Whether to enable HTTP 2.
122122+ Note that (as of writing) due to nginx's implementation, to disable
123123+ HTTP 2 you have to disable it on all vhosts that use a given
124124+ IP address / port.
125125+ If there is one server block configured to enable http2,then it is
126126+ enabled for all server blocks on this IP.
127127+ See https://stackoverflow.com/a/39466948/263061.
128128+ '';
129129+ };
130130+117131 root = mkOption {
118132 type = types.nullOr types.path;
119133 default = null;