• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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