Merge pull request #299546 from Izorkin/update-angie

angie: add withAcme option
This commit is contained in:
Pol Dellaiera 2024-05-27 21:52:47 +02:00 committed by GitHub
commit 30881b23db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,7 @@
, lib
, fetchurl
, nixosTests
, withAcme ? false
, withQuic ? false
, fetchpatch
, ...
@ -17,7 +18,10 @@ callPackage ../nginx/generic.nix args rec {
hash = "sha256-pSBy+Gv3rSa0WqQOxLHM0V03/vLqvOYBGxrjY9qsBfQ=";
};
configureFlags = lib.optional withQuic [
configureFlags = lib.optionals withAcme [
"--with-http_acme_module"
"--http-acme-client-path=/var/lib/nginx/acme"
] ++ lib.optionals withQuic [
"--with-http_v3_module"
];