官术网_书友最值得收藏!

There's more...

At this point, users can access Jira with both HTTP and HTTPS, and you need to configure Jira so that it will automatically redirect all HTTP traffic to HTTPS. Jira comes with a handy configuration utility that can help you set up this configuration.

You should first make sure your HTTPS configuration is working correctly before attempting this recipe.

Perform the following steps:

  1. Open the Command Prompt and go to the JIRA_INSTALL/bin directory.
  2. Depending on your OS, run the config.bat (Windows) or config.sh (Linux / OS X) file.
  3. Select the Web Server tab from the JIRA Configuration Tool window.
  4. Select the HTTP and HTTPs (redirect HTTP to HTTPs) option for Profile.
  5. Click on the Save button at the bottom of the window, as shown in the following screenshot.
  1. Restart Jira to apply the change:

If you cannot use the JIRA Configuration Tool, you can perform the following steps to set up the configuration manually:

  1. Open the web.xml file located in the JIRA_INSTALL/atlassian-jira/WEB-INF directory.
  2. Add the following XML snippet at the end of the file just before the closing </webapp> tag:
<security-constraint> 
 <display-name>HTTP to HTTPs Redirection</display-name> 
<web-resource-collection> 
 <web-resource-name>all-except-
 attachments</web-resource-name> 
 <url-pattern>*.jsp</url-pattern> 
 <url-pattern>*.jspa</url-pattern> 
 <url-pattern>/browse/*</url-pattern> 
</web-resource-collection> 
<user-data-constraint> 
 <transport-guarantee>CONFIDENTIAL</transport-guarantee> 
 </user-data-constraint> 
</security-constraint> 
  1. Restart Jira to apply the change.
主站蜘蛛池模板: 曲阳县| 庆城县| 甘谷县| 香港 | 深水埗区| 罗城| 昂仁县| 革吉县| 丹巴县| 铜山县| 固始县| 宜昌市| 宜城市| 浦县| 衡东县| 长海县| 盱眙县| 乌拉特后旗| 通化市| 高阳县| 昭觉县| 竹山县| 象山县| 游戏| 武安市| 茂名市| 昔阳县| 河池市| 永嘉县| 金阳县| 邯郸县| 蒙自县| 乌拉特中旗| 正宁县| 乌审旗| 玉田县| 崇州市| 包头市| 亳州市| 苏尼特左旗| 乐昌市|