modernleft-docs/Tutorials/Traefik/CloudFlare.md

669 B

title draft date
CloudFlare true 2025-01-18

Disable:

  • Always Use HTTPS
  • Automatic HTTPS Rewrites Enable:
  • gRPC
  • Pseudo IPv4 (headers)

If you have A and AAAA then the plugin github.com/Paxxs/traefik-get-real-ip

192.168.1.20 - - [19/Jan/2025:01:01:32 +0000] "GET /static/contentIndex.json HTTP/1.1" 304 0 "https://docs.modernleft.org/"; "Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0" "2603:7080:f400:ed43:939f:266:9bef:e628, 172.71.255.28"

192.168.1.20 - proxy 172.71.255.28 - cloudflare ipv4 2603:7080:f400:ed43:939f:266:9bef:e628 - the actual user's ip

"Pseudo IPv4" is needed for this