all prometheus exporter folders get same name prefix

This commit is contained in:
2025-03-03 20:36:06 +01:00
parent 92cb10ba27
commit aac17fece4
31 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
# nginx prometheus exporter
this install a prometheus exporter which it can pool and proxy nginx stub in response.
Nginx needs to be configured with the following location block:
```
location /nginx_status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}
```
this requires service to scrape using host in url: `http://127.0.0.1/nginx_status` and all other hosts such as public ip or localhost will receive != 20x.