[java-idp-tomcat-base] 05/10: Add host and port properties

Tom Zeller tzeller at dragonacea.biz
Fri Aug 12 16:05:02 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch 8.5
in repository java-idp-tomcat-base.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-tomcat-base.git;a=commit;h=499528f19460548d6f57f0cf5d11bea12ba57091

commit 499528f19460548d6f57f0cf5d11bea12ba57091
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Aug 12 14:40:37 2016 -0500

    Add host and port properties
---
 src/main/resources/tomcat-base/conf/server.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/tomcat-base/conf/server.xml b/src/main/resources/tomcat-base/conf/server.xml
index ea2d67c..3c4f8b1 100644
--- a/src/main/resources/tomcat-base/conf/server.xml
+++ b/src/main/resources/tomcat-base/conf/server.xml
@@ -19,7 +19,7 @@
      define subcomponents such as "Valves" at this level.
      Documentation at /docs/config/server.html
  -->
-<Server port="8005" shutdown="SHUTDOWN">
+<Server port="${tomcat.shutdown.port}" shutdown="${tomcat.shutdown.password}">
   <Listener className="org.apache.catalina.startup.VersionLoggerListener" />
   <!-- Security listener. Documentation at /docs/config/listeners.html
   <Listener className="org.apache.catalina.security.SecurityListener" />
@@ -52,9 +52,9 @@
          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"
+    <Connector port="${tomcat.nonhttps.port}" protocol="HTTP/1.1"
                connectionTimeout="20000"
-               redirectPort="8443" />
+               redirectPort="${tomcat.https.port}" />
     <!-- A "Connector" using the shared thread pool-->
     <!--
     <Connector executor="tomcatThreadPool"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list