Confluence NGINX

From UVOO Tech Wiki
Revision as of 22:00, 3 February 2022 by Busk (talk | contribs) (Created page with "server.xml ``` <Server port="8000" shutdown="SHUTDOWN" > <Service name="Tomcat-Standalone"> <Connector port="8081" maxHttpHeaderSize="8192" connectionTimeo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

server.xml

<Server port="8000" shutdown="SHUTDOWN" >
    <Service name="Tomcat-Standalone">
                <Connector port="8081" maxHttpHeaderSize="8192" connectionTimeout="40000" redirectPort="8443"
        maxThreads="248" minSpareThreads="25" maxSpareThreads="100" compression="on"
        compressableMimeType="text/html,text/xml,text/plain" enableLookups="false" disableUploadTimeout="true"
        acceptCount="100" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11Nio2Protocol" secure="true"
        scheme="https" proxyName="kb.qa.example.com" proxyPort="443" SSLEnabled="true" sslProtocol="TLSv1.2" sslEnabledProtocols="TLSv1.2" clientAuth="false"
        keyAlias="kb.qa.example.com" keystoreFile="/var/atlassian/application-data/confluence/kb.qa.example.com.jks" keystorePass="changeme" keystoreType="JKS"/>

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
   maxThreads="48" minSpareThreads="10"
   enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
   protocol="org.apache.coyote.http11.Http11NioProtocol"
   scheme="https" secure="true" proxyName="kb.qa.example.com" proxyPort="443"/>


        <Engine name="Standalone" defaultHost="localhost" debug="0">
            <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
                <Context path="" 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"/>
                </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>