diff options
author | Pascal Bach <pascal.bach@nextrem.ch> | 2017-08-19 23:34:19 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-21 20:30:41 +0200 |
commit | e309c318c607b318d354e0837635a2bf450a7fe7 (patch) | |
tree | d87817ce0fbb9e73ea64bbcd3f2711e919ee862e /pkgs/servers/http/nginx | |
parent | 12e0e9d31c8a759fc2f01b3b15b70e7f2303b764 (diff) | |
download | nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.tar nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.tar.gz nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.tar.bz2 nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.tar.lz nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.tar.xz nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.tar.zst nixlib-e309c318c607b318d354e0837635a2bf450a7fe7.zip |
nginx: enable additional compile flags
These flags can increase performance. They are also enabled by default on Debian and Archlinux
Diffstat (limited to 'pkgs/servers/http/nginx')
-rw-r--r-- | pkgs/servers/http/nginx/generic.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index a9d84ac144d2..472216095905 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" |