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

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.
主站蜘蛛池模板: 延吉市| 仁寿县| 秭归县| 毕节市| 孝昌县| 马尔康县| 盐源县| 诸城市| 衡阳市| 扎鲁特旗| 开阳县| 太和县| 古浪县| 朝阳县| 曲松县| 宾阳县| 手游| 义马市| 陵川县| 仙游县| 汤阴县| 成都市| 酉阳| 万年县| 连平县| 丰原市| 广宗县| 遵化市| 永丰县| 洛阳市| 隆德县| 平顺县| 宁陕县| 昭觉县| 沅陵县| 青神县| 庆安县| 姜堰市| 东乌| 江口县| 泰宁县|