- Jira 8 Administration Cookbook(Third Edition)
- Patrick Li
- 216字
- 2021-06-24 13:38:48
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:
- Open the Command Prompt and go to the JIRA_INSTALL/bin directory.
- Depending on your OS, run the config.bat (Windows) or config.sh (Linux / OS X) file.
- Select the Web Server tab from the JIRA Configuration Tool window.
- Select the HTTP and HTTPs (redirect HTTP to HTTPs) option for Profile.
- Click on the Save button at the bottom of the window, as shown in the following screenshot.
- 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:
- Open the web.xml file located in the JIRA_INSTALL/atlassian-jira/WEB-INF directory.
- 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>
- Restart Jira to apply the change.
推薦閱讀
- 缺席與斷裂:有關(guān)失范的社會(huì)學(xué)研究
- 新型智庫(kù)共建“一帶一路”的創(chuàng)新實(shí)踐:藍(lán)迪國(guó)際智庫(kù)報(bào)告.2019=Innovative Practice of B&R Construction:RDI Annual Report 2019:英文
- 東莞人才發(fā)展報(bào)告2019
- 創(chuàng)新的火花
- 時(shí)間記錄:數(shù)據(jù)反映行為,行為改變數(shù)據(jù)
- 引爆自律力
- 歷史的回歸:21世紀(jì)的沖突、遷徙和地緣政治
- 北大清華人文課
- 國(guó)家治理現(xiàn)代化研究(第五輯)
- 永恒的中國(guó)心
- 我們探尋的管理世界
- 夢(mèng)幻之地:從夢(mèng)想到狂想,美國(guó)精神五百年
- 兒童時(shí)間管理輔導(dǎo)手冊(cè)
- 探路:東莞全面深化改革系列問(wèn)題路徑研究(四)
- 加快構(gòu)建中國(guó)特色新型智庫(kù)生態(tài)圈