]> git.argeo.org Git - lgpl/argeo-commons.git/blob - demo/tomcat-server-ssl.xml
0417b7c9c7ae439b9a8c46c4ff0f425fdbf3ecd8
[lgpl/argeo-commons.git] / demo / tomcat-server-ssl.xml
1 <?xml version='1.0' encoding='utf-8'?>
2 <Server port="-1" shutdown="SHUTDOWN">
3 <!--APR library loader. Documentation at /docs/apr.html -->
4 <!-- <Listener className="org.apache.catalina.core.AprLifecycleListener"
5 SSLEngine="on" /> -->
6 <!-- Initialize Jasper prior to webapps are loaded. -->
7 <Listener className="org.apache.catalina.core.JasperListener" />
8 <!-- JMX -->
9 <!-- <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
10 /> <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
11 /> -->
12
13 <Service name="Catalina">
14 <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
15 maxThreads="150" minSpareThreads="4" />
16
17 <!-- HTTP -->
18 <Connector executor="tomcatThreadPool" port="${argeo.server.port.http}"
19 protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="${argeo.server.port.https}"
20 secure="${argeo.server.http.secure}" proxyName="${argeo.server.http.proxyName}"
21 proxyPort="${argeo.server.http.proxyPort}" />
22 <!-- HTTPS -->
23 <Connector port="${argeo.server.port.https}" protocol="HTTP/1.1"
24 SSLEnabled="true" scheme="https" secure="true" sslProtocol="TLS"
25 keystoreFile="${argeo.server.keystoreFile}" keystoreType="JKS"
26 keystorePass="${argeo.server.keystorePass}" truststoreFile="${argeo.server.truststoreFile}"
27 truststoreType="JKS" truststorePass="${argeo.server.truststorePass}"
28 clientAuth="${argeo.server.https.clientAuth}" />
29
30 <!-- AJP (for proxying with httpd) -->
31 <Connector port="${argeo.server.port.ajp}" protocol="AJP/1.3"
32 redirectPort="${argeo.server.port.https}" />
33
34 <Engine name="Catalina" defaultHost="localhost">
35 <Host name="localhost" appBase="webapps" unpackWARs="true"
36 autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"
37 workDir="work">
38 </Host>
39 </Engine>
40 </Service>
41 </Server>