A
A
Alexander Urich2019-11-05 18:45:13
Nginx
Alexander Urich, 2019-11-05 18:45:13

How do I make Jira Service Desc accessible from a different domain?

Hello. We have been working with jira for a long time. Now we decided to use the Jira service desk as well.
Installed, everything works as it should.
But. It is available at jira.mysupersite.ru/servicedesk
And it is necessary that it be available at help.mysupersite.ru
At the front above the fat is nginx
How to properly proxy requests, or configure the fat itself so that the address is the right one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maniac_by, 2019-11-05
@maniac_by

Service Desk is heavily loaded. If JIRA is highly loaded, then you better separate them. In addition, it will be easier to design them and not clog the config of the production jira (for customization for HD, you will have to draw separate workflows, field schemes and create new fields.
You don’t need to buy anything separately. Just download the SD installer from the Atlassian website and install it on a separate VM "
At one time I also thought that it's cool to put Business + software + HD on one VM. everything is so convenient. One button and switching. But in terms of administration and design, it's trash, hell and sodomy.
But if you want it like that, then don't be sure to use nginx for this, use mod rewrite
https://httpd.apache.org/docs/current/mod/mod_rewr...
There it is:

RewriteEngine On

RewriteCond %{REQUEST_URI} "^/$"
RewriteRule .* http://xxx.xxx.xxx.xx:8080/[R=301,L]
RewriteRule (.+)/$ http://xxx.xxx.xxx.xx:8080/servicedesk/customer/$1[R=301,L]
RewriteRule (.*)$ http://xxx.xxx.xxx.xx:8080/servicedesk/customer/$1[R=301,L]

Explanation:

xxx.xxx.xxx.xx - your URL

It works like that:

If you have URL for example servicedesk.yourdomain.comit redirects to main login page
If you have URL for example servicedesk.yourdomain.com/yy or servicedesk.yourdomain.com/yy/ it redirects to Customer Portal login page
Explanation:

yy - customer ID (key)

Yes. Another plus of individual instances is that it is easier to steer an SSL certificate and internal settings (server.xml, web.xml,
etc.
) in-set-up-nginx-as-proxy-server-for-atlassian-jira
and in server.xml in the proxy section and set proxying and redirects.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question