docuseal icon indicating copy to clipboard operation
docuseal copied to clipboard

get real ip of user

Open xcojonny opened this issue 8 months ago • 2 comments

Hej,

I'm having a trouble with the ip of a client signing documents. My instance is using docker and traefik as a reverse proxy. Everything is behind a cloudflare proxy (cf-ip: IP of cloudflare proxy)

using whoami i have the following header:

X-Forwarded-For: client-ip, cf-ip
X-Forwarded-Host: whoami.xx
X-Forwarded-Port: 443
X-Forwarded-Proto: https
X-Forwarded-Server: 3724637697f5hb
X-Is-Trusted: yes
X-Real-Ip: client-ip

when i have a look in the audit log, then the client-ip is equal to the cf-ip and not as I would expect to the client-ip.

Any ideas on that?

xcojonny avatar Jun 28 '24 10:06 xcojonny