set up metrics route for miniflux
This commit is contained in:
parent
7cc84ccc2c
commit
07d4e5a5ba
5 changed files with 32 additions and 2 deletions
|
|
@ -2,4 +2,17 @@ nws.roosens.me {
|
|||
reverse_proxy localhost:8002 {
|
||||
header_down +X-Robots-Tag "none"
|
||||
}
|
||||
|
||||
route /metrics {
|
||||
@local {
|
||||
remote_ip 127.0.0.1 ::1
|
||||
}
|
||||
handle @local {
|
||||
reverse_proxy localhost:8002
|
||||
}
|
||||
|
||||
handle {
|
||||
respond "Not Found" 404
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue