I am new to nginx. I use -
health_check uri=/some/uri
but when running the test with this command -
sudo /usr/sbin/nginx -t -c /etc/nginx/nginx.conf
I get the following error:
nginx: [emerg] unknown directive "health_check" in /etc/nginx/sites-enabled/abc.conf:121
Can someone say what is wrong here.? I used apache2 to complete all attempts, but I have little knowledge about nginx.
abipc source
share