Configure one or more domains for MTE Relay Server, validate your settings, and copy a ready-to-use DOMAIN_MAP environment variable value.
{
"your-domain.com": {
"upstream": "...",
...
}
}Use this to review or document your configuration.
DOMAIN_MAP value{"your-domain.com":{"upstream":"...", ...}}Paste this directly as the value for the DOMAIN_MAP environment variable in your container or shell configuration.
MTE Relay Server matches the incoming Host header against your DOMAIN_MAP keys using exact, case-insensitive matching.
https://api.example.com/users → Host: api.example.comhttps://api.example.com:8443/users → Host: api.example.com:8443"*" as a fallback that matches any host not matched by a specific key.404.