mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
nixos/nginx: remove rejectSSL assertion
This commit is contained in:
parent
64b2308de1
commit
b93bbf6406
1 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue