Closed hairyhenderson closed 6 years ago
Currently not possible because this middleware adds its own handler. caddy-git listens for incoming webhooks from github on the default caddy port I think. So you might get some inspiration from there if you want to add this
Thanks @miekg for the pointer - I'll have a look at that!
@miekg this totally fell through the cracks - until today! 😉 I've proposed #35 to solve this.
Saw it. Thanks! Will take a look this evening.
On 20 Jan 2018 19:55, "Dave Henderson" notifications@github.com wrote:
@miekg https://github.com/miekg this totally fell through the cracks - until today! 😉 I've proposed #35 https://github.com/miekg/caddy-prometheus/pull/35 to solve this.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/miekg/caddy-prometheus/issues/30#issuecomment-359193726, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVkWzIS9DVp2--H7qIHH-azivZBCHmoks5tMja8gaJpZM4PJOAZ .
Obviously if we wanted Caddy to serve up another
/metrics
endpoint there'd be a conflict, but it'd be really useful if we only needed to expose a single port from Caddy for certain use-cases.