how to install healthcheck module in nginx

7,362

It looks like the nginx module ngx_http_upstream_module will do what you want. It has health checks for the backends too. You will probably find that your Distro supplied nginx has all of this available.

Share:
7,362

Related videos on Youtube

Rajkumar .E
Author by

Rajkumar .E

Updated on September 18, 2022

Comments

  • Rajkumar .E
    Rajkumar .E over 1 year

    I have installed nginx 1.10.0 in ubuntu and setup Load balance concept. Now, setup 2 server I need to add Health check module to chenck health status of our server.

      root@server:/usr/sbin# nginx -v
      nginx version: nginx/1.10.0 (Ubuntu)
    

    I read about this documents https://github.com/cep21/healthcheck_nginx_upstreams

    this docmetn say:

               ==INSTALL==
        # Similar to the upstream_hash module
    
        cd nginx-0.7.62 # or whatever
        patch -p1 < /path/to/this/directory/nginx.patch
        ./configure --add-module=/path/to/this/directory
        make
        make install
    

    I Instlled Nginx using cmd not a manually installed

    cmd : apt-get install nginx

    I dont know where nginx instlled , by default /usr/local/nginx. but no directory is there.Reference

    Suggest me How to install and setup health check plugin in nginx

  • OrangeDog
    OrangeDog about 5 years
    > Dynamically configurable group with periodic health checks is available as part of our commercial subscription