Skip to main content

Running Jira behind a reverse-proxy

Category: Jira
Jira-Logo

If you like to run Jira behind a reverse-proxy you'll need to make the following changes to the Tomcat-Configuration.

The configuration file (server.xml) is located at folder "conf" of the Jira installation. Now search for the following content:

<Connector port="8080"
  maxHttpHeaderSize="8192"
  maxThreads="150".1"
  minSpareThreads="25"
  connectionTimeout="20000"
  acceptCount="100"
  enableLookups="false"
  maxHttpHeaderSize="8192"
  protocol="HTTP/1.1"
  useBodyEncodingForURI="true"
  redirectPort="8443"
  acceptCount="100"
  disableUploadTimeout="true"
  bindOnInit="false"/>

By adding the following line you can define the proxy-Url:

proxyName="jira.example.com"

 If you would like to use a secured connection you will also need to add:

proxyPort="443"
scheme="https"

Finally you should set the Url in the global settings and restart the application. (<Jira-Installation-Path>/bin/{start|stop}-jira.sh>)