diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2020-02-03 18:58:19 +0300 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2020-02-03 18:58:19 +0300 |
commit | f6bb22c68b2dfb5b5162335b6ffda813b79e8426 (patch) | |
tree | b0083a3d6361f76327ffe3c9bd081fc213753853 /go.mod | |
parent | f316fbf094402db2cf36c44639eeb3ae2f32c94b (diff) |
use gorilla/handlers.ProxyHeaders to get the X-Forwarded-* headers and set them in the appropriate http.Request fields
Diffstat (limited to 'go.mod')
-rw-r--r-- | go.mod | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -9,6 +9,7 @@ require ( github.com/getsentry/raven-go v0.1.2 // indirect github.com/golang/mock v1.3.1 github.com/gorilla/context v1.1.1 + github.com/gorilla/handlers v1.4.2 github.com/gorilla/securecookie v1.1.1 github.com/gorilla/sessions v1.2.0 github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 |