Unverified Commit c0f55c79 authored by Izorkin's avatar Izorkin
Browse files

angie: add withAcme option

parent 3f99d04a
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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"
  ];