Jira Server や Data Center のネットワーク接続をテストするためにプロキシまたは SSL をバイパスする
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Sometimes it's necessary to test connectivity to a single application from a single workstation. The methods described in this article should only be used if you need to test connectivity from a single workstation. To bypass a Proxy and SSL, you will need to make sure if there is a non-proxy port configured on Tomcat or you should add a secondary connector to Tomcat that allows for an alternate route of communication to the application.
ソリューション
この例では、次のような構成であったとします。
JIRA base URL:
https://jira.atlassian.comJIRA's internal IP Address:
192.168.1.100Jira にプロキシを構成済み
SSL およびプロキシをバイパスするには、次の手順を実行します。
Jira を停止します。
Open JIRA Installation Directory
/conf/server.xmlin a text editor.Verify if the following
Connector portexist in the file:For JIRA Software version 7.12.3 and above:
<Connector port="8081" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" acceptCount="100" disableUploadTimeout="true" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"/>For JIRA version lower than 7.12.3
<Connector port="8081" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" acceptCount="100" disableUploadTimeout="true"/>The
Connector portmight be different, as long as the connector is not configured with SSL or Proxy, then you should be able to bypass the Proxy and SSL. In this case, you should be able to access JIRA with the following URL:http://192.168.1.100:<connectorport>Please backup the current
server.xmlIf such
Connector portdoes not exist in theserver.xml file, then please add the connector by copy-pasting the above connector to theserver.xml. Make sure to use the correct connector syntax (depending on the version of JIRA) and port8081is not already in use (simply search for 8081 in your connector and use 'netstat -an' command to verify if nothing else is listening on that port. If the port is already used, please use a different port.Jira を起動します。
Access JIRA with the following URL:
http://192.168.1.100:8081ポートを異なる設定で更新した場合、
8081ポートをその値に変更します。Change the base URL to http://192.168.1.100:8081
テストが完了したら、次のいずれかを実行します。
server.xml ファイルからコネクタ ポートを削除する。
Restore the content of the server.xml file from the backup server.xml ファイルを解凍します。
変更を反映するには Jira を再起動する必要がある点にご注意ください。
この内容はお役に立ちましたか?