The nginx-healthcheck-module is an open-source plugin for Nginx 1.26+ that performs active health checks on upstream servers. Unlike passive checks that rely on client requests, this module periodically probes backends, allowing early detection of failures. It is a fork of yaoweibin/nginx_upstream_check_module, updated for modern Nginx versions. Configuration is straightforward: define check intervals, failure thresholds, and expected responses. The module supports HTTP, TCP, and custom protocols. For production environments, this reduces downtime by routing traffic away from unhealthy servers before users are affected. DevOps engineers can integrate it into CI/CD pipelines to validate deployments. The project is actively maintained on GitHub, with clear documentation. This is a valuable addition to any Nginx-based infrastructure, especially for microservices and API gateways.
This module provides active upstream health checks for Nginx 1.26+, forked from a popular earlier project. It enables proactive detection of backend failures, improving system reliability. For DevOps teams, this is a practical tool to enhance load balancing and uptime.