Case study
Restoring Real Visitor IPs for Containerised Apps
A customer running application containers behind a host-level reverse proxy could not get the real visitor IP into the app. Every request appeared to come from the proxy or container network, making logs, rate limiting and access decisions unreliable.
Context
The customer had a containerised application running on a server with a reverse proxy in front of several app containers. The site worked, but the application could not see the original visitor IP address.
This caused problems for logging, abuse checks, audit trails and application behaviour that depended on knowing where requests really came from.
The problem
- The application logs showed the proxy/container network address instead of the visitor IP.
- Forwarded headers were either missing, overwritten or not trusted by the application.
- The reverse proxy, container network and application configuration all had to be checked together.
- The customer needed a safe change that would not break routing for the running containers.
Our approach
- Reviewed the request path from the public edge through the host reverse proxy and into the app containers.
- Checked proxy header handling, including forwarded client IP headers and host/protocol forwarding.
- Verified how the application framework trusted proxy headers and how logs recorded client addresses.
- Tested the change carefully so the application received the real client IP without exposing it to spoofed headers from untrusted sources.
Practical outcomes
Relevant technologies and keywords
These are the main technologies, services and search terms connected to this case study.
Related services
Relevant services for similar infrastructure problems.
Need something similar fixed?
Send us the issue and we will suggest the right starting point.
Tell us what is affected, what changed recently and what outcome you need. We will confirm whether it is best handled as a fixed technical fix, hourly support, review, migration or urgent incident work.