Many users choose to run confluence behind the reverse proxy and also enable HTTPS. It is necessary to configure your confluence reverse proxy correctly, and to avoid many of the problems encountered in using confluence later.
Both proxy and HTTPS access are already configured in Tomcat, and Tomcat is the application server used by confluence.
Simple connectors
To configure and set up the confluence, the simpler the better, we will make the configuration as simple as possible. We have provided a series of connector samples in Tomcat. These samples are in the <install-directory>/conf/server.xml
file.
Connector Example |
Describe |
DEFAULT-Direct connection, without proxy, for HTTP access confluence that do not use proxies |
This is the default option. Enable this option when you are not using a reverse proxy and do not have HTTPS enabled. |
HTTP-proxy access to confluence via HTTP via Apache or Nginx |
Select this option when you are using a reverse proxy and do not have HTTPS enabled. |
HTTPS-direct connection, without proxy, for HTTPS access confluence that do not use proxies |
Select this option if you want to use HTTPS, but do not configure the reverse proxy. HTTPS will be configured in Tomcat. |
HTTPS-proxy access to confluence via HTTPS through Apache or Nginx |
If you want to use a reverse proxy and also enable HTTPS. Please use this option, and this is also the most common configuration. |
We only provide examples of HTTP/HTTPS connectors. If you cannot use the AJP connector (for example, use Apache mod_jk) for synchrony. Synchrony is used in a co-editing configuration and cannot accept AJP connections.
If you plan to use collaborative editing, here are a series of considerations based on proxy and SSL connections. Please refer to the contents of the Proxy and SSL considerations page. When you decide which configuration is best for you to configure the reverse proxy, you need to consider these factors.
Https://www.cwiki.us/display/CONF6ZH/Proxy+and+HTTPS+setup+for+Confluence
Confluence 6 proxy and HTTPS Setup connectors