[UI] Enable HTTPs default port
[validation.git] / docker / ui / server.xml
index 969d62b..801b98f 100644 (file)
         <!-- A "Connector" represents an endpoint by which requests are received
             and responses are returned. Documentation at : Java HTTP Connector: /docs/config/http.html
             Java AJP Connector: /docs/config/ajp.html APR (HTTP/AJP) Connector: /docs/apr.html
-            Define a non-SSL/TLS HTTP/1.1 Connector on port 8080 -->
-        <Connector port="8080" protocol="HTTP/1.1"
-            connectionTimeout="20000" redirectPort="8443" />
+            Define an SSL/TLS Connector on port 8443 for backwards compatibility-->
+        <Connector
+           protocol="org.apache.coyote.http11.Http11NioProtocol"
+           port="8443" maxThreads="200"
+           scheme="https" secure="true" SSLEnabled="true"
+           SSLCertificateFile="/usr/local/tomcat/bluval.crt"
+           SSLCertificateKeyFile="/usr/local/tomcat/bluval.key"
+           SSLVerifyClient="none" SSLProtocol="TLSv1+TLSv1.1+TLSv1.2" />
         <!-- A "Connector" using the shared thread pool -->
         <!-- <Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1"
             connectionTimeout="20000" redirectPort="8443" /> -->
@@ -69,7 +74,7 @@
             clientAuth="false" sslProtocol="TLS" />-->
         <Connector
            protocol="org.apache.coyote.http11.Http11NioProtocol"
-           port="8443" maxThreads="200"
+           port="443" maxThreads="200"
            scheme="https" secure="true" SSLEnabled="true"
            SSLCertificateFile="/usr/local/tomcat/bluval.crt"
            SSLCertificateKeyFile="/usr/local/tomcat/bluval.key"
@@ -89,7 +94,7 @@
 
         <!-- Define an AJP 1.3 Connector on port 8009 -->
         <Connector port="8009" protocol="AJP/1.3"
-            redirectPort="8443" />
+            redirectPort="443" />
 
 
         <!-- An Engine represents the entry point (within Catalina) that