diff --git a/imageproxy.go b/imageproxy.go index 832fa67..aafcd59 100644 --- a/imageproxy.go +++ b/imageproxy.go @@ -97,6 +97,11 @@ func (p *Proxy) ServeHTTP(w http.ResponseWriter, r *http.Request) { return // ignore favicon requests } + if r.URL.Path == "/health-check" { + fmt.Fprint(w, "OK") + return + } + req, err := NewRequest(r, p.DefaultBaseURL) if err != nil { msg := fmt.Sprintf("invalid request URL: %v", err)