Apache Stratos Nginx extension is a load balancer extension for Nginx. It is an executable program which can manage the life-cycle of a Nginx instance according to the topology, composite application model, tenant application signups and domain mapping information received from Stratos via the message broker.
Set cep.stats.publisher.enabled to true in nginx-extension.sh file to enable statistics publishing. Please note that Nginx must be compiled with HttpStubStatusModule module to read statistics. Execute the following command to make sure that HttpStubStatusModule module is installed:
nginx -V 2>&1 | grep -o with-http_stub_status_module
If HttpStubStatusModule is installed the following output will be given:
with-http_stub_status_module
Please refer INSTALL.md for information on the installation process.