mirror of
https://github.com/YunoHost-Apps/guacamole_ynh.git
synced 2024-09-03 19:16:03 +02:00
33 lines
1.5 KiB
XML
33 lines
1.5 KiB
XML
|
<Server port="-1" shutdown="SHUTDOWN">
|
||
|
<Listener className="org.apache.catalina.startup.VersionLoggerListener" />
|
||
|
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
|
||
|
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
|
||
|
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
|
||
|
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
|
||
|
<GlobalNamingResources>
|
||
|
<Resource name="UserDatabase" auth="Container"
|
||
|
type="org.apache.catalina.UserDatabase"
|
||
|
description="User database that can be updated and saved"
|
||
|
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
|
||
|
pathname="conf/tomcat-users.xml" />
|
||
|
</GlobalNamingResources>
|
||
|
<Service name="Catalina">
|
||
|
<Connector port="__PORT__" protocol="HTTP/1.1"
|
||
|
connectionTimeout="20000" />
|
||
|
<Engine name="Catalina" defaultHost="localhost">
|
||
|
<Realm className="org.apache.catalina.realm.LockOutRealm">
|
||
|
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
|
||
|
resourceName="UserDatabase"/>
|
||
|
</Realm>
|
||
|
|
||
|
<Host name="localhost" appBase="webapps"
|
||
|
unpackWARs="true" autoDeploy="true">
|
||
|
|
||
|
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
|
||
|
prefix="localhost_access_log" suffix=".txt"
|
||
|
pattern="%h %l %u %t "%r" %s %b" />
|
||
|
|
||
|
</Host>
|
||
|
</Engine>
|
||
|
</Service>
|
||
|
</Server>
|