first commit
This commit is contained in:
33
conf.d/status.conf
Normal file
33
conf.d/status.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
#include conf.d/prometheus_all.conf;
|
||||
|
||||
server {
|
||||
listen 84;
|
||||
listen 86;
|
||||
|
||||
location /nginx_status {
|
||||
stub_status on;
|
||||
access_log off;
|
||||
allow all;
|
||||
}
|
||||
|
||||
auto_redirect on;
|
||||
|
||||
location /status/ {
|
||||
api /status/;
|
||||
api_config_files on;
|
||||
}
|
||||
|
||||
location /console/ {
|
||||
alias /usr/share/angie-console-light/html/;
|
||||
index index.html;
|
||||
}
|
||||
|
||||
location /console/api/ {
|
||||
api /status/;
|
||||
}
|
||||
|
||||
location =/p8s {
|
||||
prometheus all;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user