Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-bronnikov committed Feb 20, 2025
1 parent f4534b1 commit bfc2632
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/server/web/proxy/x_custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ func getXCustomHandler(prod bool) gin.HandlerFunc {
return
}
dumpA, _ := httputil.DumpRequest(c.Request, true)
c.Request.Header.Del("X-Amzn-Trace-Id")
c.Request.Header.Del("X-Forwarded-For")
c.Request.Header.Del("X-Forwarded-Port")
c.Request.Header.Del("X-Forwarded-Proto")
fmt.Println("=======dumpA===========")
fmt.Println(string(dumpA))
proxy := &httputil.ReverseProxy{
Expand Down

0 comments on commit bfc2632

Please sign in to comment.