My Server Name is configured like so in server.xml
:
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
server="Fender Champ" />
...
<Connector
protocol="org.apache.coyote.http11.Http11NioProtocol"
port="8443" maxThreads="150"
server="Fender Champ"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="${user.home}/.keystore" keystorePass="[password]"
clientAuth="false" sslProtocol="TLS">
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
</Connector>
Which allows both 8080 and 8443 connections.
I noticed that with HTTP, I can see my specified server name just fine:
However nothing seems to occur with HTTPS connections:
Does "server" exist as a possible attribute in HTTPS Tomcat? Should it be referred to as something else?
Most documentation online is about HTTP, which works perfect, but HTTPS seems to completely ignore it. Is setting server name (or other response headers in general) possible for HTTPS connections? The Tomcat Documentation doesn't seem to detail anything other than server
property.