Preserve END Client IP address to Azure Container Instances
I've been using Azure Container Instances to develop different short term web projects. I love the idea of being able to script the creation of a Container with mounted storage and to have all the control over the NGINX config in a persistent storage mount. I've noticed that you cannot get the IP address of the requesting system in this configuration. The only thing that shows up in the logs is a local IP of what I assume to be the container parent. It would be great if there was some forwarding header that would pass down the IP address of the end user for logging and scripting.
Bernd R commented
Yes, we also need this.
This is done by other Azure facilities. ACI should have it IMO.
"Application gateway inserts X-Forwarded-For header to all requests before it forwards the requests to the backend. ". Here's the standard: https://tools.ietf.org/html/rfc7239#section-4 and a link https://azure.microsoft.com/en-au/blog/rewrite-http-headers-with-azure-application-gateway/
Yes I want that so i know who connected. Some are bad people.. . . .
agree. need this
JT Vaughan commented
Yes! We need this too!
Ronald Miranda Carvalho commented
This is a MUST have feature.
Tomasz Jagusz commented
This is a must-have! I need to know the client IP address to add some rules to .htaccess