This commit is contained in:
Mateusz Gruszczyński
2025-11-13 10:13:26 +01:00
parent 4f68ec54c6
commit ef4b119d27

View File

@@ -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 {