Expose metric exporter
This commit is contained in:
parent
3b0a39a877
commit
0cac19d4a0
@ -8,6 +8,10 @@ events {
|
|||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
|
upstream exporter {
|
||||||
|
server 127.0.0.1:3001;
|
||||||
|
}
|
||||||
|
|
||||||
upstream read-write {
|
upstream read-write {
|
||||||
server 127.0.0.1:4001;
|
server 127.0.0.1:4001;
|
||||||
}
|
}
|
||||||
@ -67,6 +71,11 @@ http {
|
|||||||
|
|
||||||
listen 80 default_server;
|
listen 80 default_server;
|
||||||
|
|
||||||
|
# Proxy pass Prometheus metric exporter
|
||||||
|
location /metrics {
|
||||||
|
proxy_pass http://exporter;
|
||||||
|
}
|
||||||
|
|
||||||
# Proxy pass OCSP responder
|
# Proxy pass OCSP responder
|
||||||
location /api/ocsp/ {
|
location /api/ocsp/ {
|
||||||
proxy_pass http://ocsp-responder;
|
proxy_pass http://ocsp-responder;
|
||||||
|
Loading…
Reference in New Issue
Block a user