We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88a0e2c commit bcfacecCopy full SHA for bcfacec
1 file changed
contrib/sni-router/README.md
@@ -67,6 +67,13 @@ In this setup that hostname resolves back to **this** server, so mtg's
67
fronting dial would hit HAProxy on `:443`, HAProxy would see the SNI
68
matching the secret and route the connection back to mtg → loop.
69
70
+The trigger is DNS, not name equality: the loop reproduces whenever
71
+the secret's hostname resolves to this host, regardless of how it
72
+relates to the domain Caddy serves (same name, subdomain, parent, or
73
+unrelated). In an SNI-router deployment the secret's hostname has to
74
+point here for clients to reach mtg in the first place, so the loop
75
+is the default state unless mtg is steered away from HAProxy.
76
+
77
To break the loop, `mtg-config.toml` pins the fronting target to
78
Caddy's container address directly:
79
0 commit comments