mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 18:36:30 +02:00
proxy: fixed bug where ping wouldn't fire
This commit is contained in:
parent
6b6e79aced
commit
b1912128f3
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ func (p *Proxy) Handler() http.Handler {
|
|||
Str("pomerium-email", r.Header.Get(HeaderEmail)).
|
||||
Msg("request")
|
||||
}))
|
||||
c = c.Append(middleware.Healthcheck("/ping", version.UserAgent()))
|
||||
c = c.Append(middleware.SetHeaders(securityHeaders))
|
||||
c = c.Append(middleware.RequireHTTPS)
|
||||
c = c.Append(middleware.ForwardedAddrHandler("fwd_ip"))
|
||||
|
|
Loading…
Add table
Reference in a new issue