diff --git a/lambdaurl/http_handler.go b/lambdaurl/http_handler.go index 79a63e18..53c5ba54 100644 --- a/lambdaurl/http_handler.go +++ b/lambdaurl/http_handler.go @@ -118,6 +118,7 @@ func Wrap(handler http.Handler) func(context.Context, *events.LambdaFunctionURLR if err != nil { return nil, err } + httpRequest.RemoteAddr = request.RequestContext.HTTP.SourceIP for k, v := range request.Headers { httpRequest.Header.Add(k, v) }