Ted Goddard
added a comment - The fix is to use the x-forwarded-host header from httpd:
String serverName = externalContext.getRequestHeaderMap()
.get("x-forwarded-host");
if (null == serverName)
{
serverName = externalContext.getRequestServerName() + ":" +
externalContext.getRequestServerPort();
}
The fix is to use the x-forwarded-host header from httpd:
String serverName = externalContext.getRequestHeaderMap()
{ serverName = externalContext.getRequestServerName() + ":" + externalContext.getRequestServerPort(); }.get("x-forwarded-host");
if (null == serverName)