Jira Reverse Proxy via IIS

Adrian J April 3, 2018
  • I installed Jira Service Desk on Windows Server 2008 R2 (it runs on localhost:8080 just fine)
  • We want users to access Jira via jira.corp.example.com and use a different server running Windows Server 2016 w/ IIS as a Reverse Proxy

So Jira is installed to 2008 R2 Server, and I followed this guide to setup a Reverse Proxy on the 2016 Server where IIS is configured. Currently, jira ONLY works if I type jira.corp.example.com:8080 in a browser on the 2008 R2 Server. However, I can't get to this address from any other machine on the corp.example.com domain. Also, I'm not sure how to configure the Base URL to work without having to type the port number. What did I miss here?

Thanks!

 

 

 

1 answer

0 votes
Kurt Klinner
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 3, 2018

@Adrian J

Hi Adrian

can you share your rewrite url configuration?

 

BR

Kurt

Adrian J April 4, 2018

Hi Kurt,

Here's the web.config file under URL Rewrite in IIS:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Jira">
                    <match url="(.*)" />
                    <action type="Rewrite" url="http://jira.corp.example.com:8080>/{R:1}" />
                </rule>
            </rules>
        </rewrite>
        <security>
            <requestFiltering allowDoubleEscaping="true" />
        </security>
    </system.webServer>
</configuration>

Thanks,

Adrian

Suggest an answer

Log in or Sign up to answer