Patch to allow nginx_http_upstream_check_module use:
Here is a patch to allow nginx_http_upstream_check_module use with nginx-sticky-module-ng:
It patches: src/http/modules/ngx_http_upstream_ip_hash_module.c, src/http/modules/ngx_http_upstream_least_conn_module.c, and src/http/ngx_http_upstream_round_robin.h to allow "NGX_UPSTREAM_CHECK_MODULE"
Use: patch -p1 < check_1.2.6+.patch
Source and inspiration comes from: https://github.com/yaoweibin/nginx_upstream_check_module
Comments (7)
-
reporter -
repo owner - changed status to open
i'm going to test this tomorrow; i remember some issues with that module though
-
@nginx-goodies : If you have trouble building the upstream patch against latest nginx, try patch here: https://bugs.gentoo.org/show_bug.cgi?id=503414
-
repo owner @jbergstroem : i'm not a fan of patching the core :)
i'm perftesting the following patch atm, so the sticky-module should work with the upstream-check-module
http://code.google.com/p/nginx-sticky-module/issues/detail?id=22
-
repo owner i see no issues with our build, but i cannot check if the changes were successfull ( we do not use this module); please check yourself and report any issues, i'll keep this ticket open for another week or 2 :)
-
repo owner - changed status to resolved
works
-
So, is it possible to use
least_conn
directive with this module? - Log in to comment
See issue here: http://code.google.com/p/nginx-sticky-module/issues/detail?id=22