We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b5aaae commit dcee208Copy full SHA for dcee208
nixos/modules/services/web-servers/h2o/default.nix
@@ -302,6 +302,22 @@ in
302
type = settingsFormat.type;
303
default = { };
304
description = "Configuration for H2O (see <https://h2o.examp1e.net/configure.html>)";
305
+ example =
306
+ literalExpression
307
+ # nix
308
+ ''
309
+ {
310
+ compress = "ON";
311
+ ssl-offload = "kernel";
312
+ http2-reprioritize-blocking-assets = "ON";
313
+ "file.mime.addtypes" = {
314
+ "text/x-rst" = {
315
+ extensions = [ ".rst" ];
316
+ is_compressible = "YES";
317
+ };
318
319
+ }
320
+ '';
321
};
322
323
hosts = mkOption {
0 commit comments