After upgrading portal to 5.1.2 the tenant with a different subdomain as domain specified in the portal.conf does not work
We upgraded from 4.5 after the upgrade to 5.1.2 the tenant is not reachable anymore , the other tenant with tenant.portaldomain works as expected.
Release : 5.1.2
In portal 5.1.2 the nginx is restricted to only allow access for tenants with the portal domain name only
You can set CONFIG_HOST_ALLOWED_DOMAINS="tenant.customdomain.com" in your portal.conf and restart the portal stack .
Keep internal as the custom domains set in tenant.json is not officialy supported