如何为JIRA和Confluence创建多个URL?

时间:2019-03-19 11:31:26

标签: linux apache tomcat jira confluence

任务:

  • 我们有几个DNS别名(例如project1.domain.com,project2.domain.com)
  • 通过IP连接到JIRA服务器的DNS别名
  • 需要链接,例如。从project1.domain.com到jira.domain.com/project/TEST1
  • 需要从project2.domain.com到jira.domain.com/project/TEST2的链接

接下来如何?有任何想法吗?

谢谢您的帮助!

1 个答案:

答案 0 :(得分:0)

On your webserver, you need as many Virtual Hosts as domains you have declared, and each Virtual Host will have one HTTP redirection.

For example :

 VirtualHost project1.domain.com
 RewriteEngine on
 RewriteRule   ^/+(.*)$  http://jira.domain.com/project/TEST1 [R]