modernleft-docs/Tutorials/Traefik/CloudFlare.md

23 lines
669 B
Markdown
Raw Normal View History

2025-01-18 22:41:11 +00:00
---
title: CloudFlare
draft: true
date: 2025-01-18
---
Disable:
- Always Use HTTPS
- Automatic HTTPS Rewrites
Enable:
- gRPC
- Pseudo IPv4 (headers)
2025-01-19 01:14:01 +00:00
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/"](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