Documentation for Confluence 2.5.4 - 2.5.8.
Documentation for [Confluence Cloud] and the latest Confluence Server is available too.

はじめに

Running Confluence behind a web server should be done for performance reasons in high-load environments. In general, web server caching and thread management is far superior to that provided by your application server's HTTP interface.

To run Confluence behind the Apache httpd web server, there are two main configuration options: mod_jk or mod_proxy.

接続タイプ

機能

mod_proxy (リバース プロキシとも呼ばれる)

  • 推奨される接続方法
  • アプリケーション サーバーへのシンプルな HTTP プロキシ
  • すべてのアプリケーション サーバーで動作
  • アプリケーション パスが一致していれば、web サーバーの負荷が最小限になる

mod_jk (AJP とも呼ばれる)

  • AJP バイナリ プロトコルを使用
  • provides failover (and load balancing, which Confluence doesn't support)
  • 一部のアプリケーション サーバーでのみ動作(一般的には Tomcat)
  • アプリケーション パスが一致している場合、AJP へのリクエストを置換するための負荷が web サーバーで発生する

Features common to both mod_proxy and mod_jk

  • URL の書き換えの複雑さと遅さを解消するには、アプリケーション パスが一致している必要がある
  • web サーバーおよびアプリ サーバーの両方で、名前ベースの仮想ホスティングで動作
  • web サーバーはアプリケーション サーバーへのコネクション プールを維持

Mod_proxy documentation

Mod_jk documentation

  • 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 のいずれかを使用する必要があります。

その他の関連ドキュメント