• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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