mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 00:13:09 -06:00
90 lines
3.9 KiB
Django/Jinja
90 lines
3.9 KiB
Django/Jinja
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Server port="{{ atl_tomcat_mgmt_port }}"
|
|
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"/>
|
|
|
|
<Service name="Catalina">
|
|
|
|
<Connector port="{{ atl_tomcat_port }}"
|
|
maxThreads="{{ atl_tomcat_maxthreads }}"
|
|
minSpareThreads="{{ atl_tomcat_minsparethreads }}"
|
|
connectionTimeout="{{ atl_tomcat_connectiontimeout }}"
|
|
enableLookups="{{ atl_tomcat_enablelookups }}"
|
|
protocol="{{ atl_tomcat_protocol }}"
|
|
redirectPort="{{ atl_tomcat_redirectport }}"
|
|
acceptCount="{{ atl_tomcat_acceptcount }}"
|
|
secure="{{ atl_tomcat_secure }}"
|
|
scheme="{{ atl_tomcat_scheme }}"
|
|
{% if atl_proxy_name is defined and atl_proxy_name != '' -%}proxyName="{{ atl_proxy_name }}"
|
|
{% endif -%}
|
|
{% if atl_proxy_port is defined and atl_proxy_port != '' -%}proxyPort="{{ atl_proxy_port }}"
|
|
{% endif -%}
|
|
relaxedPathChars="[]|"
|
|
relaxedQueryChars="[]|{}^\`"<>"
|
|
bindOnInit="false"
|
|
maxHttpHeaderSize="8192"
|
|
useBodyEncodingForURI="true"
|
|
disableUploadTimeout="true" />
|
|
|
|
{% if atl_tomcat_redirectport is defined and atl_tomcat_redirectport != '' %}
|
|
<Connector port="{{ atl_tomcat_redirectport }}"
|
|
protocol="{{ atl_tomcat_protocol }}"
|
|
connectionTimeout="{{ atl_tomcat_connectiontimeout }}"
|
|
relaxedPathChars="[]|"
|
|
relaxedQueryChars="[]|{}^\`"<>"
|
|
maxHttpHeaderSize="65536"
|
|
URIEncoding="UTF-8"
|
|
useBodyEncodingForURI="true"
|
|
compression="on"
|
|
compressableMimeType="text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" />
|
|
{% endif %}
|
|
|
|
{% if atl_apptunnel_port is defined and atl_apptunnel_port != '' %}
|
|
<Connector port="{{ atl_apptunnel_port }}"
|
|
connectionTimeout="20000"
|
|
maxThreads="200"
|
|
minSpareThreads="10"
|
|
enableLookups="false"
|
|
acceptCount="10"
|
|
URIEncoding="UTF-8"
|
|
relaxedPathChars="[]|"
|
|
relaxedQueryChars="[]|{}^\`"<>"/>
|
|
{% endif %}
|
|
|
|
<Engine name="Catalina"
|
|
defaultHost="localhost">
|
|
<Host name="localhost"
|
|
appBase="webapps"
|
|
unpackWARs="true"
|
|
autoDeploy="true">
|
|
|
|
<Context path="{{ atl_tomcat_contextpath }}"
|
|
docBase="${catalina.home}/atlassian-jira"
|
|
reloadable="false"
|
|
useHttpOnly="true">
|
|
<Resource name="UserTransaction"
|
|
auth="Container"
|
|
type="javax.transaction.UserTransaction"
|
|
factory="org.objectweb.jotm.UserTransactionFactory"
|
|
jotm.timeout="60"/>
|
|
<Manager pathname=""/>
|
|
<JarScanner scanManifest="false"/>
|
|
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve"
|
|
threshold="120" />
|
|
</Context>
|
|
|
|
</Host>
|
|
<Valve className="org.apache.catalina.valves.AccessLogValve"
|
|
pattern="%a %{jira.request.id}r %{jira.request.username}r %t "%m %U%q %H" %s %b %D "%{Referer}i" "%{User-Agent}i" "%{jira.request.assession.id}r""/>
|
|
</Engine>
|
|
|
|
</Service>
|
|
</Server>
|