nixos/nginx: remove rejectSSL assertion (#350224)
This commit is contained in:
commit
26a699af7b
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user