nginx: add additional features when streams are enabled
This allows nginx to work as a TCP load balancer including TLS and geo IP routing support
This commit is contained in:
parent
e309c318c6
commit
1d8412d17a
@ -43,7 +43,12 @@ stdenv.mkDerivation {
|
|||||||
"--with-pcre-jit"
|
"--with-pcre-jit"
|
||||||
# Install destination problems
|
# Install destination problems
|
||||||
# "--with-http_perl_module"
|
# "--with-http_perl_module"
|
||||||
] ++ optional withStream "--with-stream"
|
] ++ optional withStream [
|
||||||
|
"--with-stream"
|
||||||
|
"--with-stream_geoip_module"
|
||||||
|
"--with-stream_realip_module"
|
||||||
|
"--with-stream_ssl_module"
|
||||||
|
"--with-stream_ssl_preread_module"
|
||||||
++ optional (gd != null) "--with-http_image_filter_module"
|
++ optional (gd != null) "--with-http_image_filter_module"
|
||||||
++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"
|
++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"
|
||||||
++ map (mod: "--add-module=${mod.src}") modules;
|
++ map (mod: "--add-module=${mod.src}") modules;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user