Unverified Commit b93bbf64 authored by Izorkin's avatar Izorkin
Browse files

nixos/nginx: remove rejectSSL assertion

parent 64b2308d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -1150,14 +1150,6 @@ in
        '';
      }

      {
        assertion = any (host: host.rejectSSL) (attrValues virtualHosts) -> versionAtLeast cfg.package.version "1.19.4";
        message = ''
          services.nginx.virtualHosts.<name>.rejectSSL requires nginx version
          1.19.4 or above; see the documentation for services.nginx.package.
        '';
      }

      {
        assertion = all (host: !(host.enableACME && host.useACMEHost != null)) (attrValues virtualHosts);
        message = ''