nixos/nginx: remove rejectSSL assertion

This commit is contained in:
Izorkin 2024-10-21 14:49:53 +03:00
parent 64b2308de1
commit b93bbf6406
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

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