diff --git a/docs/http/http-installation-guide.md b/docs/http/http-installation-guide.md index a6eae8a..ced64c7 100644 --- a/docs/http/http-installation-guide.md +++ b/docs/http/http-installation-guide.md @@ -201,28 +201,29 @@ Note: If you choose a different Application to test with, `the NGINX configurati This can be any standard Linux OS system, based on the Linux Distro and Technical Specs required for NGINX Plus, which can be found here: https://docs.nginx.com/nginx/technical-specs/ - 1. This Solution followed the `Installation of NGINX Plus on Centos/Redhat/Oracle` steps for installing NGINX Plus. +1. This Solution followed the `Installation of NGINX Plus on Centos/Redhat/Oracle` steps for installing NGINX Plus. https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-plus/ >NOTE: This Solution will only work with NGINX Plus, as NGINX OpenSource does not have the API that is used in this Solution. Installation on unsupported Linux Distros is not recommended. - 1. If you need a license for NGINX Plus, a 30-day Trial license is available here: +1. If you need a license for NGINX Plus, a 30-day Trial license is available here: https://www.nginx.com/free-trial-request/ - 1. Install the NGINX Javascript module (njs). This is required for exporting Prometheus Metrics from NGINX Plus. +1. Install the NGINX Javascript module (njs). This is required for exporting Prometheus Metrics from NGINX Plus. - ```bash - yum install nginx-plus-module-njs + ```bash + yum install nginx-plus-module-njs - ``` + ``` - 1. Install Nginx Javascript for Prometheus - ```bash - yum install nginx-plus-module-prometheus +1. Install Nginx Javascript for Prometheus - ``` + ```bash + yum install nginx-plus-module-prometheus + + ```
diff --git a/docs/http/prometheus.conf b/docs/http/prometheus.conf index 15f53c9..1dba334 100644 --- a/docs/http/prometheus.conf +++ b/docs/http/prometheus.conf @@ -7,6 +7,10 @@ js_import /usr/share/nginx-plus-module-prometheus/prometheus.js; server { + + listen 9113; + status_zone prometheus; + location = /metrics { js_content prometheus.metrics; }