I want to configure a proxy server for our Confluence and Jira servers, following the instructions on https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html
The URL http://chiani.company.domain/docs which should proxy to the confluence server doesn't give either data nor error - the screen stays blank, no error log entries for apache.
My configuration at the proxy server:
Apache 2.2 with the following VirtualHost (company.domain and restricted.domain stand for the real domain names):
<VirtualHost *:80>
ServerName chiani.company.domain
ProxyRequests Off
ProxyVia Off
# <Proxy *>
# Require all granted
# </Proxy>
ProxyPass /docs http://abgconfluence.restricted.domain:8090
ProxyPassReverse /docs http://abgconfluence.restricted.domain:8090
ProxyPass /jira http://abgjira.restricted.domain:8080
ProxyPassReverse /jira http://abgjira.restricted.domain:8080
</VirtualHost>
In the server.xml I didn't find the exact line as described in the atlassian page. My context in /opt/atlassian/confluence/conf/server.xml is as follows:
<Server port="8000" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Standalone">
<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"
proxyName="chiani.company.domain"
proxyPort="80"
scheme="http" />
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
<Context path="/docs" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logger is deprecated in Tomcat 5.5. 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>
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
<Context path="/docs" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logger is deprecated in Tomcat 5.5. 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>