Skip to content

Access real-remote-addr through env #144

@asutoshpalai

Description

@asutoshpalai

When deployed behind a proxy (e.g. Nginx proxy) there is no simple way to access the client's real remote address through env.

To get the real IP, you will have to get x-forwarded-for from :headers.

I am using Clack with Hunchentoot server.

From my understanding, the handler for Huchentoot should use :remote-addr (real-remote-addr req) instead of :remote-addr (remote-addr* req)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions