|
|
@@ -83,7 +83,15 @@ IP, not a hostname, hence the static `sni` network). `proxy-protocol =
|
|
83
|
83
|
true` matches Caddy's `:8443` listener wrapper so the real client IP
|
|
84
|
84
|
still propagates to Caddy's logs.
|
|
85
|
85
|
|
|
86
|
|
-If you change Caddy's pinned IP, update both files together.
|
|
|
86
|
+If you change Caddy's pinned IP, update both files together. If
|
|
|
87
|
+`172.28.0.0/24` collides with another network on this host, change the
|
|
|
88
|
+subnet in `docker-compose.yml` and the IP in `mtg-config.toml` to match.
|
|
|
89
|
+
|
|
|
90
|
+> Caveat for IPv6 clients: when an IPv6 probe is fronted, mtg's
|
|
|
91
|
+> outbound PROXY v2 header has an IPv6 source but an IPv4 destination
|
|
|
92
|
+> (Caddy's pinned address). Caddy may refuse the mixed-family header
|
|
|
93
|
+> and log the docker-network address instead of the real client IP for
|
|
|
94
|
+> that connection. Telegram traffic is unaffected.
|
|
87
|
95
|
|
|
88
|
96
|
## ACME (Let's Encrypt) notes
|
|
89
|
97
|
|