Confluence 4.3 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
Note: This page documents a configuration of Apache, rather than of Confluence itself. Atlassian will support Confluence with this configuration, but we cannot guarantee to help you debug problems with Apache. Please be aware that this material is provided for your information only, and that you use it at your own risk.
はじめに
高負荷環境でのパフォーマンスを改善するため、web サーバーの後ろで Confluence を実行する必要があります。一般的に、web サーバーのキャッリングとスレッド管理は、アプリケーション サーバーの HTTP インターフェースで提供されるものよりもはるかに優れています。
Confluence を Apache httpd web サーバーの後ろで実行するには、mod_jk または mod_proxy の2つの主な設定オプションがあります。
接続タイプ | 機能 |
|---|---|
mod_proxy (リバース プロキシとも呼ばれる) |
|
mod_jk (AJP とも呼ばれる) |
|
Features common to both mod_proxy and mod_jk |
|---|
|
Using mod_proxy
- Using Apache with mod_proxy is the main documentation for this configuration.
- If you want to set up the common configuration of JIRA and Confluence virtual hosts, you can use Apache's virtual hosts with separate application servers.
Using mod_jk
- Using Apache with mod_jk is the main documentation for this configuration.
- You can follow a similar method to the mod_proxy documentation above for setting up virtual hosts in Apache and Tomcat, if required.
mod_jk2 はサポートされていません
誤解を招くような名前の mod_jk2 は Apache から Tomcat への古い接続方式です。mod_jk2 はもう Apache 財団によってサポートされていません。我々もこの設定をサポートせず、mod_jk2 のドキュメントも更新しません。mod_jk2 には、Unicode URL に関して未解決の問題があり、Confluence で国際文字を正しく扱うには、mod_proxy と mod_jk のいずれかを使用する必要があります。
mod_disk_cache を使用した静的コンテンツのキャッシング
大規模な Confluence サイトのパフォーマンスを向上させるには、静的コンテンツのキャッシュを JVM から Apache に移動することをお勧めします。これは、JVM が静的コンテンツを提供するスレッドを長時間実行させるのを防ぎます。「mod_disk_chache 経由で静的コンテンツをキャッシュするように Apache を設定する」を参照してください。
