-1

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

Rajkumar .E
  • 217
  • 1
  • 3
  • 6

2 Answers2

2

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.

user9517
  • 115,471
  • 20
  • 215
  • 297
  • > Dynamically configurable group with periodic health checks is available as part of our **commercial subscription** – OrangeDog Mar 21 '19 at 14:45
0

I bet them you are required to recompile the nginx with the health check module rather than installing the official one.

Gnought
  • 176
  • 4