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 dcee208 commit 28aa290Copy full SHA for 28aa290
nixos/modules/services/web-servers/h2o/default.nix
@@ -230,6 +230,9 @@ let
230
ssl = (lib.recursiveUpdate tlsRecAttrs value.tls.extraSettings) // {
231
inherit identity;
232
};
233
+ }
234
+ // lib.optionalAttrs (value.host != null) {
235
+ host = value.host;
236
237
238
nixos/modules/services/web-servers/h2o/vhost-options.nix
@@ -37,6 +37,15 @@ in
37
'';
38
39
40
+ host = mkOption {
41
+ type = types.nullOr types.nonEmptyStr;
42
+ default = null;
43
+ example = "127.0.0.1";
44
+ description = ''
45
+ Set the host address for this virtual host.
46
+ '';
47
+ };
48
+
49
http = mkOption {
50
type = types.nullOr (
51
types.submodule {
0 commit comments