[java-idp-tomcat-base] 05/06: Add host and port properties
Tom Zeller
tzeller at dragonacea.biz
Tue Jul 12 16:10:30 EDT 2016
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch 8.0
in repository java-idp-tomcat-base.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-tomcat-base.git;a=commit;h=89fb16411c82f575aa13b8a536f5837d21945b5f
commit 89fb16411c82f575aa13b8a536f5837d21945b5f
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Jul 8 16:36:27 2016 -0500
Add host and port properties
---
.../resources/tomcat-base/conf/catalina.properties | 21 +++++++++++++++++++++
src/main/resources/tomcat-base/conf/server.xml | 2 +-
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/main/resources/tomcat-base/conf/catalina.properties b/src/main/resources/tomcat-base/conf/catalina.properties
index 71b9ae8..b104e8e 100644
--- a/src/main/resources/tomcat-base/conf/catalina.properties
+++ b/src/main/resources/tomcat-base/conf/catalina.properties
@@ -248,3 +248,24 @@ tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trainThreshold=500000
#tomcat.util.buf.StringCache.cacheSize=5000
+
+#
+# Shibboleth IdP properties
+#
+
+# The interface to listen on. To listen on all interfaces, set tomcat.host = 0.0.0.0
+tomcat.host=localhost
+
+# The HTTPS port
+tomcat.https.port=8443
+
+# The SOAP endpoint port
+tomcat.backchannel.port=9443
+
+#
+# Configuration for the non https connection.
+#
+# In general, do not modify these values
+#
+tomcat.nonhttps.host=localhost
+tomcat.nonhttps.port=8080
diff --git a/src/main/resources/tomcat-base/conf/server.xml b/src/main/resources/tomcat-base/conf/server.xml
index 660a219..1a6bcbb 100644
--- a/src/main/resources/tomcat-base/conf/server.xml
+++ b/src/main/resources/tomcat-base/conf/server.xml
@@ -52,7 +52,7 @@
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" />
<!-- A "Connector" using the shared thread pool-->
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list