From a5cd139ba0f85907b9e7e0ab1ab15c2e0a2e11c0 Mon Sep 17 00:00:00 2001 From: Peyman Date: Mon, 11 Mar 2024 16:25:58 +0330 Subject: [PATCH] Add metric path in nginx config --- default.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/default.conf b/default.conf index e09ea9a2..5e74700b 100644 --- a/default.conf +++ b/default.conf @@ -7,4 +7,8 @@ server { location / { try_files $uri $uri/ =404; } -} \ No newline at end of file + + location /metrics { + stub_status on; + } +}