proxyd: Add logging for origin and remote IP (#3482)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
This commit is contained in:
parent
859c950fd0
commit
3fb4debfe1
@ -264,6 +264,8 @@ func (s *Server) HandleRPC(w http.ResponseWriter, r *http.Request) {
|
||||
"req_id", GetReqID(ctx),
|
||||
"auth", GetAuthCtx(ctx),
|
||||
"user_agent", userAgent,
|
||||
"origin", origin,
|
||||
"remote_ip", xff,
|
||||
)
|
||||
|
||||
body, err := io.ReadAll(io.LimitReader(r.Body, s.maxBodySize))
|
||||
|
Loading…
Reference in New Issue
Block a user