はじめに

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 バイナリ プロトコルを使用
  • フェイルオーバー(およびクラスタ化ライセンスの Confluence でのみサポートされる負荷分散)を提供
  • 一部のアプリケーション サーバーでのみ動作(一般的には Tomcat)
  • アプリケーション パスが一致している場合、AJP へのリクエストを置換するための負荷が web サーバーで発生する

Features common to both mod_proxy and mod_jk

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

Mod_proxy documentation

Mod_jk documentation

mod_jk2 はサポートされていません

The misleadingly-named mod_jk2 is an older method of connecting to Tomcat from Apache. Since mod_jk2 is no longer supported by the Apache Foundation, we do not support this configuration, and are not updating our mod_jk2 documentation. Mod_jk2 also has unresolved problems with Unicode URLs; you need to use either mod_proxy or mod_jk for international characters to work correctly in Confluence.

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