Updated nginx:alpine that gets the correct public IP using CF-Connecting-IP
275
This is an nginx:alpine-based Docker image that comes with additional features to enhance NGINX functionality. The image is specifically designed to handle the client's public IP addresses when using the Cloudflare proxy.
The image includes a script that generates a list of Cloudflare IP addresses for use with the set_real_ip_from directive in NGINX. This list allows NGINX to correctly identify the client’s public IP address when requests are proxied through Cloudflare.
real_ip_header configuration, ensuring that internal Docker network traffic is properly handled if originating from its gateway.The script is adapted from the nginx-cloudflare-real-ip repository.
Content type
Image
Digest
sha256:e689d97a8…
Size
22.5 MB
Last updated
almost 2 years ago
docker pull hanger52/nginx-alpine-cloudflare:v1.0.3