From 4daa35e820206161aff33a4ee7ad8ffb0086ee86 Mon Sep 17 00:00:00 2001 From: Itay Talmi <42022401+itaytalmi@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:24:54 -0400 Subject: [PATCH] Fix "listen" directive syntax prometheus.conf There's a syntax issue in the "listen" directive. Should be "listen 9113;", not "listen 9113:". Using the current file, I got an error upon reloading the NGINX service ("nginx: [emerg] invalid port in "9113:" of the "listen" directive in /etc/nginx/conf.d/prometheus.conf:11") --- docs/http/prometheus.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/http/prometheus.conf b/docs/http/prometheus.conf index ad1204e..47d15e9 100644 --- a/docs/http/prometheus.conf +++ b/docs/http/prometheus.conf @@ -7,7 +7,7 @@ js_import /usr/share/nginx-plus-module-prometheus/prometheus.js; server { - listen 9113: + listen 9113; status_zone prometheus; location = /metrics {