angie: add withAcme option

This commit is contained in:
Izorkin
2024-05-26 13:34:38 +03:00
parent 3f99d04a16
commit c0f55c7917
+5 -1
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"
];