nixos/nginx: remove rejectSSL assertion (#350224)

This commit is contained in:
Franz Pletz 2024-10-21 16:58:12 +02:00 committed by GitHub
commit 26a699af7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = ''