• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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