• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Forward Client IP to Docker Container

Kristophersson

New Pleskian
Our website is running in a docker container and we just recently found out that the client's IP Address, given to the Container, is not their real one due to the Proxy forwarding.
How can I get access to the client's actual IP Address? In the logs ({subscription}/logs/{domain}/proxy_access_ssl_log) the user's IP shows up, but, again, that's not the one shown to my PHP Application.

From what I was able to find out it has something to do with the NGINX Configuration used by Plesk.
 
Back
Top