diff --git a/nixos/modules/services/web-servers/h2o/vhost-options.nix b/nixos/modules/services/web-servers/h2o/vhost-options.nix index 3ca9ac16267d..596b8a362cbc 100644 --- a/nixos/modules/services/web-servers/h2o/vhost-options.nix +++ b/nixos/modules/services/web-servers/h2o/vhost-options.nix @@ -19,6 +19,18 @@ in example = "example.org"; }; + serverAliases = mkOption { + type = types.listOf types.nonEmptyStr; + default = [ ]; + example = [ + "www.example.org" + "example.org" + ]; + description = '' + Additional names of virtual hosts served by this virtual host configuration. + ''; + }; + http = mkOption { type = types.nullOr ( types.submodule {