Skip to content

Remote IP address passed to app.inject() #186

@steveatkoan

Description

@steveatkoan

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Hi
How possible is it to get the remote IP from the aws lambda environment (somewhere?) and include that in the app.inject() call?

Motivation

I'm using fastify/rate-limit because I want custom control over the rate limits applied. But because I don't know the remote IP address it thinks the whole world is 127.0.0.1 when a request comes from api gateway / lambda

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions