From ef4b119d27563df0944dffcc6cd22a0409148eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Thu, 13 Nov 2025 10:13:26 +0100 Subject: [PATCH] push --- npm_install.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/npm_install.py b/npm_install.py index 3f45d89..719b555 100644 --- a/npm_install.py +++ b/npm_install.py @@ -1527,7 +1527,11 @@ exec sudo -n /usr/sbin/angie "$@" def write_metrics_files(): - """Create /etc/angie/metrics.conf (port 82 with console & status).""" + + cert_path = NPM_ADMIN_CERT_PATH + key_path = NPM_ADMIN_KEY_PATH + + """Create /etc/angie/metrics.conf (port 82/8282 with console & status).""" with step("Adding Angie metrics & console on :82 / :8282 (https)"): metrics = """include /etc/angie/prometheus_all.conf; server {