Skip to content

Commit

Permalink
Debug headers
Browse files Browse the repository at this point in the history
  • Loading branch information
tomleb authored Nov 23, 2024
1 parent f8c72f3 commit 6b86e48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proxy/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func NewAPIReverseProxy(upstream string, host string) (*APIReverseProxy, error)
Director: func(req *http.Request) {
rewriteRequestURL(req, upstreamURL)
headers := http.Header{}
fmt.Println(req.Header)

allowedHeaders := []string{
"X-Forwarded-For",
Expand Down

0 comments on commit 6b86e48

Please sign in to comment.