Updated from 1.7.6 to 1.8.0, upstream_check module stop working. check_status page return error 500. nginx error_log says 2015/08/05 11:09:09 [error] 31278#0: *1 http upstream check module can not find any check server, make sure you've added the check servers, client: 192.168.2.xx, server: localhost, request: "GET /upstream_status HTTP/1.1", host: "192.168.2.xx" I found ebuild still uses check_1.7.2+.patch, so I downloaded check_1.7.5+.patch from project page to files dir, and changed epatch line. https://github.com/yaoweibin/nginx_upstream_check_module/blob/master/check_1.7.5%2B.patch Which patched with no problem and check_status page works again. Reproducible: Always related nginx config : upstream servers { server server1:82; check interval=3000 rise=2 fall=5 timeout=1000 type=http; } server { ..... location /upstream_status { check_status; access_log off; allow 127.0.0.1/32; allow 192.168.2.0/24; deny all; } ..... } Nginx USE : [ebuild R ] www-servers/nginx-1.8.0::gentoo USE="http http-cache pcre ssl vim-syntax -aio -debug -ipv6 -libatomic -luajit -pcre-jit -rtmp (-selinux)" NGINX_MODULES_HTTP="access auth_basic browser charset empty_gif gzip limit_conn limit_req map memcached proxy referer rewrite secure_link sticky stub_status upload_progress upstream_check upstream_ip_hash userid -addition -ajp -auth_pam -auth_request -autoindex -cache_purge -dav -dav_ext -degradation -echo -fancyindex -fastcgi -flv -geo -geoip -gunzip -gzip_static -headers_more -image_filter -lua -metrics -mogilefs -mp4 -naxsi -perl -push_stream -random_index -realip -scgi -security -slowfs_cache -spdy -split_clients -ssi -sub -uwsgi -xslt" NGINX_MODULES_MAIL="-imap -pop3 -smtp" 0 KiB
Works again in 1.9.3.
It should only affects version >=1.7.5 and <=1.8.0 . These versions should be patched with check_1.7.5+.patch, not check_1.7.2+.patch . Version >1.9.2 patched with check-1.9.2.patch, so it's fine.
This is fixed (I rebaked patch upstream).