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 {