mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-18 04:06:19 +00:00
15 lines
288 B
Plaintext
15 lines
288 B
Plaintext
map $status $omitOKs {
|
|
default 1;
|
|
~^[2][0][0] 0;
|
|
}
|
|
|
|
server {
|
|
listen 8080;
|
|
error_log stderr;
|
|
access_log /dev/stdout {{{ logFormat }}} if=$omitOKs;
|
|
location /metrics {
|
|
vhost_traffic_status_display;
|
|
vhost_traffic_status_display_format prometheus;
|
|
}
|
|
}
|