Can't check base URL warning in Confluence 6.1 or later
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
This article applies to Confluence 6.1 to 6.5.
問題
Confluence 6.1 to 6.5 displays the following message to administrators:
Can't check your base URL
There may be a problem with your proxy configuration.
診断
This message appears when Confluence attempts to check that the URL you are using to access Confluence is the same as Confluence's base URL, but cannot complete the check because of a problem with your proxy configuration
原因
This message appears when Confluence attempts to check that the URL you are using to access Confluence is the same as Confluence's base URL, but cannot complete the check because of a problem with your proxy configuration. This is usually because:
<install-directory>/conf/server.xml
ファイルにproxyName
とproxyPort
が存在するが、リバース プロキシを使用していない- リバース プロキシを使用しているが、
<install-directory>/conf/server.xml
ファイルのproxyName
とproxyPort
の値に誤りがある
ソリューション
リバース プロキシを使用していない場合、proxyName
および proxyPort
属性が含まれていないことを確認します。リバース プロキシを使用していない場合、コネクタは次の例のようになります。
<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" />
If you are using a reverse proxy, make sure the the proxyName
and proxyPort
attributes have correct values for your reverse proxy. Your connector should look similar to the example below:
<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="www.example.com" proxyPort="80" scheme="http"/>
server.xml
を確認したあともエラーが表示される場合、プロキシの構成が適切かどうかを確認します。次の例でサンプル構成を説明しています。
- Apache で mod_proxy を使用する
- SSL を使用して NGINX のバックグラウンドで Confluence を実行する
- Apache HTTP Server (mod_proxy_http) でアトラシアンのサーバー アプリケーションをプロキシする
- Microsoft Internet Information Services (IIS) を使用したアトラシアン サーバー アプリケーションのプロキシ
- Confluence で Amazon Web Service Application Load Balancer を構成する方法