Rewrite rule does not work on new Jira version

Sergey Petrov February 4, 2021

Hello community! I ask you to advise on the settings of the built-in Apache Tomcat in Jira to configure the Rewrite rule. Now we have version 4.5.0 and the Rewrite rule is used, it looks like this:

RewriteCond% {HTTP_HOST} ^ site \ .support \ .ru $ [NC]
RewriteRule ^ (. *) $ Https://site-internal.support.ru/servicedesk/customer/portal/1 [R = 301, L]

This rule does the following: when following the link https://site.support.ru (Customer Portal Jira), the client is redirected to the address https://site-internal.support.ru/servicedesk/customer/portal/1

This is for the convenience of customers. This works in Jira versions prior to 4.5.8 Starting from version 4.5.9 and higher, this rule stops working for unknown reasons. The only difference I noticed is that version 4.5.9 uses a newer version of Apache Tomcat (Built-in Jira proxy).

The system was configured by following the link: https://confluence.atlassian.com/jirakb/configure-custom-url-for-the-jira-service-desk-customer-portal-847755218.html

I hope someone faced such a problem and was able to solve it, please tell me how to solve the described problem.

Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events