Expose metric exporter

This commit is contained in:
Lauri Võsandi 2021-06-09 20:18:41 +00:00
parent 3b0a39a877
commit 0cac19d4a0

View File

@ -8,6 +8,10 @@ events {
}
http {
upstream exporter {
server 127.0.0.1:3001;
}
upstream read-write {
server 127.0.0.1:4001;
}
@ -67,6 +71,11 @@ http {
listen 80 default_server;
# Proxy pass Prometheus metric exporter
location /metrics {
proxy_pass http://exporter;
}
# Proxy pass OCSP responder
location /api/ocsp/ {
proxy_pass http://ocsp-responder;