Skip to content

how to get original client ip while using Haproxy #20

@somaranaresh

Description

@somaranaresh

Hi elad,
I'm using haproxy as a reverse-proxy, I'm getting haproxy ip as client ip at 'connection.remoteAddress'.In my use case clients will connect via haproxy and using node-cluster-socket.io for sticky-session. If i use haproxy x-forwarded-host now how do i get original client ip from node-cluster-socket.io

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