We have a HAProxy in front of a tomcat cluster in our environment. Right now, we are directing all the traffic on ports 80 and 443 to the tomcat-https backend. The issue is that some of our subdomain names need to be processed before it hits the https, with the current setup we are running into the insecure certificate issue. So, now we need to direct these subdomains to 8080 on tomcat. These subdomains are not fixed names, we need to just check if there is a subdomain and direct it to 8080 or else to 443.
mode tcpwith HTTPS on the server (instead of on HAProxy)? - Michael - sqlbotmode httpwith HTTPS on the server. - Mahesh H Viraktamath