blob: e032ca3dd6644adc43d6da76ba9323d2f077e970 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
server {
listen {{ prometheus_exporter_port }};
listen [::]:{{ prometheus_exporter_port }};
server_name _;
## TODO: configure ssl
location / {
return 404 "unknown exporter: $uri\n";
}
include /etc/prometheus-exporter/exporters-enabled/*;
access_log /var/log/nginx/access-prometheus-exporter.log;
error_log /var/log/nginx/error-prometheus-exporter.log;
}
|