v0.13.0 Allow nginx to share its metrics data for monitoring
This commit is contained in:
parent
46c376ea47
commit
5f4154982a
2 changed files with 12 additions and 2 deletions
10
nginx.conf
10
nginx.conf
|
|
@ -15,5 +15,15 @@ http {
|
|||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location /nginx_status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
|
||||
# adjust these to match where Prometheus / exporter lives
|
||||
allow 127.0.0.1; # localhost
|
||||
# allow 172.17.0.0/16; # example Docker bridge subnet
|
||||
deny all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
0.12.6
|
||||
0.13.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue