|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<Server port="8005" shutdown="SHUTDOWN"> |
| 3 | + <Listener className="org.apache.catalina.startup.VersionLoggerListener" /> |
| 4 | + <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" /> |
| 5 | + <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" /> |
| 6 | + <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" /> |
| 7 | + <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" /> |
| 8 | + <GlobalNamingResources> |
| 9 | + <Resource name="UserDatabase" auth="Container" |
| 10 | + type="org.apache.catalina.UserDatabase" |
| 11 | + description="User database that can be updated and saved" |
| 12 | + factory="org.apache.catalina.users.MemoryUserDatabaseFactory" |
| 13 | + pathname="conf/tomcat-users.xml" /> |
| 14 | + </GlobalNamingResources> |
| 15 | + <Service name="Catalina"> |
| 16 | + <Connector port="80" protocol="HTTP/1.1" |
| 17 | + connectionTimeout="20000" |
| 18 | + redirectPort="443" |
| 19 | + maxParameterCount="1000" |
| 20 | + /> |
| 21 | + <Connector port="443" protocol="org.apache.coyote.http11.Http11NioProtocol" |
| 22 | + maxThreads="150" SSLEnabled="true" |
| 23 | + maxParameterCount="1000" |
| 24 | + > |
| 25 | + <SSLHostConfig> |
| 26 | + <Certificate certificateFile="/etc/cert/cert.pem" |
| 27 | + certificateKeyFile="/etc/cert/privkey.pem" |
| 28 | + certificateChainFile="/etc/cert/chain.pem" /> |
| 29 | + </SSLHostConfig> |
| 30 | + </Connector> |
| 31 | + <Engine name="Catalina" defaultHost="localhost" startStopThreads="0"> |
| 32 | + <Realm className="org.apache.catalina.realm.LockOutRealm"> |
| 33 | + <!-- This Realm uses the UserDatabase configured in the global JNDI |
| 34 | + resources under the key "UserDatabase". Any edits |
| 35 | + that are performed against this UserDatabase are immediately |
| 36 | + available for use by the Realm. --> |
| 37 | + <Realm className="org.apache.catalina.realm.UserDatabaseRealm" |
| 38 | + resourceName="UserDatabase"/> |
| 39 | + </Realm> |
| 40 | + |
| 41 | + <Host name="localhost" appBase="webapps" |
| 42 | + unpackWARs="false" autoDeploy="false" startStopThreads="0"> |
| 43 | + <Context path="${CAS_URI}" docBase="cas"></Context> |
| 44 | + <Context path="/cas-management" docBase="cas-management"></Context> |
| 45 | + <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" |
| 46 | + prefix="localhost_access_log" suffix=".txt" |
| 47 | + pattern="%h %l %u %t "%r" %s %b" /> |
| 48 | + </Host> |
| 49 | + </Engine> |
| 50 | + </Service> |
| 51 | +</Server> |
| 52 | + |
0 commit comments