When the secret's domain resolves back to this server (the SNI-router default), mtg's fallback fronting dial lands on HAProxy, the SNI matches the secret, HAProxy routes the connection back to mtg -> loop. Set [domain-fronting].host = "web" in mtg-config.toml so mtg dials Caddy directly via compose-network DNS, bypassing HAProxy. Requires mtg >= 2.4 (#480 added hostname acceptance for the fronting target). README gains a "Fronting loop" section explaining the cause.pull/478/head
|
|
||
| 56 |
|
56 |
|
| 57 |
|
57 |
|
| 58 |
|
58 |
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
| 59 |
|
93 |
|
| 60 |
|
94 |
|
| 61 |
|
95 |
|
|
|
||
| 11 |
|
11 |
|
| 12 |
|
12 |
|
| 13 |
|
13 |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
| 14 |
|
25 |
|
| 15 |
|
26 |
|
| 16 |
|
27 |
|