2019-08-06 04:19:28 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2019-08-13 01:23:20 +00:00
|
|
|
<Server port="{{ atl_tomcat_mgmt_port | default('8000') }}"
|
2019-08-06 04:19:28 +00:00
|
|
|
shutdown="SHUTDOWN">
|
|
|
|
|
|
|
|
<Service name="Catalina">
|
|
|
|
|
2019-08-13 01:23:20 +00:00
|
|
|
<Connector port="{{ atl_tomcat_port | default('8090') }}"
|
2021-07-08 06:14:00 +00:00
|
|
|
maxThreads="{{ atl_tomcat_maxthreads | default('48') }}"
|
2019-08-13 01:23:20 +00:00
|
|
|
minSpareThreads="{{ atl_tomcat_minsparethreads | default('10') }}"
|
|
|
|
connectionTimeout="{{ atl_tomcat_connectiontimeout | default('20000') }}"
|
|
|
|
enableLookups="{{ atl_tomcat_enablelookups | default('false') }}"
|
2021-07-08 06:14:00 +00:00
|
|
|
protocol="{{ atl_tomcat_protocol | default('org.apache.coyote.http11.Http11NioProtocol') }}"
|
2019-08-13 01:23:20 +00:00
|
|
|
redirectPort="{{ atl_tomcat_redirectport | default('8443') }}"
|
|
|
|
acceptCount="{{ atl_tomcat_acceptcount | default('10') }}"
|
2021-07-08 06:14:00 +00:00
|
|
|
debug="{{ atl_tomcat_debug | default('0') }}"
|
|
|
|
URIEncoding="{{ atl_tomcat_uriencoding | default('UTF-8') }}"
|
2019-08-13 01:23:20 +00:00
|
|
|
secure="{{ atl_tomcat_secure | default(catalina_connector_secure) | default('false') }}"
|
|
|
|
scheme="{{ atl_tomcat_scheme | default(catalina_connector_scheme) | default('http') }}"
|
|
|
|
proxyName="{{ atl_proxy_name | default(catalina_connector_proxyname) | default('') }}"
|
|
|
|
proxyPort="{{ atl_proxy_port | default(catalina_connector_proxyport) | default('') }}"
|
2021-07-08 06:14:00 +00:00
|
|
|
maxHttpHeaderSize="{{ atl_tomcat_maxhttpheadersize | default('8192') }}" />
|
|
|
|
|
2019-08-06 04:19:28 +00:00
|
|
|
<Engine name="Standalone"
|
|
|
|
defaultHost="localhost"
|
|
|
|
debug="0">
|
|
|
|
<Host name="localhost"
|
|
|
|
debug="0"
|
|
|
|
appBase="webapps"
|
|
|
|
unpackWARs="true"
|
|
|
|
autoDeploy="false"
|
|
|
|
startStopThreads="4">
|
2019-08-13 01:23:20 +00:00
|
|
|
<Context path="{{ atl_tomcat_contextpath | default(catalina_context_path) | default('') }}"
|
2019-08-06 04:19:28 +00:00
|
|
|
docBase="../confluence"
|
|
|
|
debug="0"
|
|
|
|
reloadable="false"
|
|
|
|
useHttpOnly="true">
|
|
|
|
<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
|
|
|
|
<Manager pathname=""/>
|
|
|
|
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve"
|
|
|
|
threshold="60"/>
|
2022-01-13 01:50:04 +00:00
|
|
|
{% if ((atl_tomcat_access_log == 'true') or
|
2022-01-17 01:58:31 +00:00
|
|
|
(atl_tomcat_access_log is not defined and (confluence_version.split('.') | map('int') | list) >= ('7.11.0'.split('.') | map('int') | list)) ) %}
|
2020-02-28 03:30:20 +00:00
|
|
|
<Valve className="org.apache.catalina.valves.AccessLogValve"
|
|
|
|
requestAttributesEnabled="true"
|
|
|
|
directory="logs"
|
|
|
|
prefix="confluence_access"
|
|
|
|
suffix=".log"
|
|
|
|
rotatable="true"
|
2023-05-16 06:20:29 +00:00
|
|
|
pattern="%h %{X-AUSERNAME}o %t "%r" %s %b %D %U %I "%{User-Agent}i""
|
|
|
|
maxDays="{{ atl_tomcat_access_logs_maxdays | default('-1') }}"/>
|
2020-02-28 03:30:20 +00:00
|
|
|
<Valve className="org.apache.catalina.valves.RemoteIpValve"
|
|
|
|
proxiesHeader="x-forwarded-by"
|
|
|
|
internalProxies="{{ atl_tomcat_proxy_internal_ips | default('') }}"
|
|
|
|
remoteIpHeader="x-forwarded-for"
|
|
|
|
protocolHeader="x-forwarded-proto"
|
|
|
|
requestAttributesEnabled="true"
|
|
|
|
resolveHosts="false" />
|
2020-02-21 12:24:46 +00:00
|
|
|
{% endif %}
|
2019-08-06 04:19:28 +00:00
|
|
|
</Context>
|
|
|
|
|
|
|
|
<Context path="${confluence.context.path}/synchrony-proxy"
|
|
|
|
docBase="../synchrony-proxy"
|
|
|
|
debug="0"
|
|
|
|
reloadable="false"
|
|
|
|
useHttpOnly="true">
|
|
|
|
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve"
|
|
|
|
threshold="60"/>
|
|
|
|
</Context>
|
|
|
|
|
|
|
|
</Host>
|
|
|
|
</Engine>
|
|
|
|
|
|
|
|
</Service>
|
|
|
|
|
|
|
|
</Server>
|
|
|
|
|
2021-07-08 06:14:00 +00:00
|
|
|
|