From e309c318c607b318d354e0837635a2bf450a7fe7 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Sat, 19 Aug 2017 23:34:19 +0200 Subject: [PATCH] nginx: enable additional compile flags These flags can increase performance. They are also enabled by default on Debian and Archlinux --- pkgs/servers/http/nginx/generic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index a9d84ac144d..47221609590 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -39,6 +39,8 @@ stdenv.mkDerivation { "--with-http_secure_link_module" "--with-http_degradation_module" "--with-http_stub_status_module" + "--with-threads" + "--with-pcre-jit" # Install destination problems # "--with-http_perl_module" ] ++ optional withStream "--with-stream"