sourcegraph / checkup

Distributed, lock-free, self-hosted health checks and status pages
https://sourcegraph.github.io/checkup
MIT License
3.42k stars 248 forks source link

Adding support for Host header on checks #79

Closed TrevinTeacutter closed 4 years ago

TrevinTeacutter commented 6 years ago

Was trying to use this to check services behind Traefik, and discovered that there wasn't a way to pass a Host header so just trying to contribute this back. Wanted to keep parity with how Host is special on http.Request so decided to not opt for parsing the header map for any Host header.