Commit 28aa2901 authored by toastal's avatar toastal
Browse files

nixos/h2o: add access to listen.host

parent dcee208a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -230,6 +230,9 @@ let
                    ssl = (lib.recursiveUpdate tlsRecAttrs value.tls.extraSettings) // {
                      inherit identity;
                    };
                  }
                  // lib.optionalAttrs (value.host != null) {
                    host = value.host;
                  };
              };
          };
+9 −0
Original line number Diff line number Diff line
@@ -37,6 +37,15 @@ in
      '';
    };

    host = mkOption {
      type = types.nullOr types.nonEmptyStr;
      default = null;
      example = "127.0.0.1";
      description = ''
        Set the host address for this virtual host.
      '';
    };

    http = mkOption {
      type = types.nullOr (
        types.submodule {