Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Customise Jira Service Desk Portal URL for Server and Data Center

Important Notice : This article applies only for Atlassian products on the "Server" and "Data Center" platforms. For Cloud, please refer to the following suggestion.

Purpose 

This article presents a simple solution based on NGINX as a reverse-proxy in front of Jira Service Desk in order to customize the portal URL. As a result, it will be possible to access Jira Service Desk Portal from a URL like this one for example : http://support.mycompany.com and access Jira Service Desk back-end from : http://support.mycompany.com/jira


Customizing the portal URL is one of the common requests every Jira Service Desk Administrator receives from end-users because the standard portal URL is a bit difficult to remember. 

This is a workaround for a JSD-315. Other workarounds exist and can be found here : 

For a number of Jira admins, these workarounds are time consuming, especially when you need to implement them in all your environments. The solution suggested in this article is by far simpler and can be implemented in few minutes, especially if you are using a reverse-proxy like NGINX (some adaptations are necessary if you are using HA-Proxy or Apache).


Before describing the solution, it is worth noting that : 

  • This solution must be tested first in a staging environment before any implementation in production
  • This customization is out of scope of Atlassian support

Solution :  

Prerequisite : 

  • Have NGINX as a reverse proxy. I personally recommend installing a reverse-proxy in front of all Atlassian Server & Data Center products. I'm planning to write an article about that in order to list all the benefits of doing so :) stay tuned :)). This article describes how to do so.
  • Assuming that Jira Base URL is like :  http://support.mycompany.com/jira 
  • In NGINX, you already have a configuration file which usually should look like this one, if you are using HTTP
server { 
listen 80; 
server_name support.mycompany.com;  

location /jira { 
proxy_set_header X-Forwarded-Host $host; 
proxy_set_header X-Forwarded-Server $host; 
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
proxy_pass "http://my-jira-server-name:8080/jira"; 
access_log /var/log/nginx/jira-http-access.log; 
error_log /var/log/nginx/jira-http-error.log; 
}  
}

 

Steps : 
Add a simple proxypass rule as follows in NGINX configuraiton file : 

server { 
listen 80; 
server_name support.mycompany.com;  

location = / { 
proxy_set_header X-Forwarded-Host $host; 
proxy_set_header X-Forwarded-Server $host; 
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
proxy_pass "http://my-jira-server-name:8080/jira/servicedesk/customer"; 
}  
}

location /jira { 
proxy_set_header X-Forwarded-Host $host; 
proxy_set_header X-Forwarded-Server $host; 
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 
proxy_pass "http://my-jira-server-name:8080/jira"; 
}  
}

 

It is worth noting that if you are using an add-on, the redirection rule must be adapted depending on your plugin. 

Also, it is very important to emphase the use of "=" in the location because if it is not used (or forgotten), you may encounter a lot of trouble. 

Happy redirecting ... !

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

284 views 16 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you