34 lines
493 B
Plaintext
34 lines
493 B
Plaintext
#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;
|
|
}
|
|
|
|
}
|