Apache Jira Integration: A 7-Step Setup Guide for Teams
Need a reliable apache jira setup? Follow this 7-step guide to configure HTTPS, proxy headers, and URLs correctly. Read now to avoid redirect loops.
Putting Jira behind Apache HTTP Server can give your team one HTTPS entry point, a familiar domain, and centralized proxy controls.
But a mismatched base URL, missing proxy headers, or incorrect connector settings can cause redirect loops and broken links.
That can turn a simple Apache Jira integration into an afternoon of troubleshooting, especially when teammates cannot tell whether Jira or Apache is responsible.
Here's why: Apache handles public web traffic, while self-managed Jira runs behind it on an internal address.
This guide walks you through seven setup steps, from checking your Jira deployment to testing and securing the proxy.
First, a clarification: this guide covers Apache HTTP Server as a reverse proxy for self-managed Jira Data Center or legacy Jira Server. Jira Cloud is hosted by Atlassian, so your Apache server cannot sit in front of that hosted service.
How to Set Up Apache as a Jira Reverse Proxy
Use these seven steps to route traffic from Apache HTTP Server to a self-managed Jira instance. The example assumes Jira listens on port 8080 and Apache serves Jira at https://jira.example.com.
-

Step 1: Confirm Your Jira Deployment and Network Layout
Check that you run Jira Data Center or a legacy self-managed Jira Server installation. This approach does not apply to Jira Cloud.
Identify Jira's internal address and port. For a single server, that might be 127.0.0.1:8080. If Jira runs on another host, use its private hostname or address instead.
Also confirm that Apache can reach Jira over the network. If you mean the Apache Software Foundation's Jira service, that is a hosted issue tracker, not a Jira installation behind your own Apache server.
-
Step 2: Set Up a DNS Name and HTTPS Certificate
Choose the public address your team will use, such as jira.example.com, then point its DNS record to the Apache server.
Obtain a trusted TLS certificate for that name. You will need the certificate and private key paths when you configure Apache's HTTPS virtual host.
For example, a teammate should be able to open https://jira.example.com without a certificate warning. Keep the certificate current and renew it before it expires.
-
Step 3: Enable Apache's Proxy and TLS Modules
Apache needs its proxy, HTTP proxy, header, and TLS modules to forward requests securely. On Debian- or Ubuntu-based systems, you can enable them with these commands:
sudo a2enmod proxy proxy_http headers ssl
sudo systemctl reload apache2
Other operating systems use different commands and module names. Confirm the modules are enabled for your Apache installation before proceeding.
Here's the reason this matters: without the proxy modules, Apache cannot pass browser requests to Jira. Without TLS support, it cannot serve the HTTPS address in this example.
-
Step 4: Configure Jira's Public URL and Connector
In Jira administration, set the application’s base URL to https://jira.example.com. Jira uses this address when it creates links, sends notifications, and handles redirects.
For self-managed Jira, the Tomcat connector may also need the proxy's public host, port, and scheme. A typical connector includes attributes such as proxyName="jira.example.com", proxyPort="443", scheme="https", and secure="true".
Connector settings vary by Jira version and installation. Check your version's Atlassian guidance before editing the connector, and preserve its existing attributes.
-
Step 5: Create an Apache HTTPS Virtual Host
Create a virtual host for Jira's public name. This example forwards requests to Jira on the same machine:
<VirtualHost *:443>
ServerName jira.example.com
SSLEngine on
SSLCertificateFile /etc/ssl/certs/jira.example.com.crt
SSLCertificateKeyFile /etc/ssl/private/jira.example.com.key
ProxyRequests Off
ProxyPreserveHost On
RequestHeader set X-Forwarded-Proto "https"
RequestHeader set X-Forwarded-Port "443"
ProxyPass / http://127.0.0.1:8080/ connectiontimeout=5 timeout=300
ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>
Replace the example domain, certificate locations, and Jira address with values that match your environment. If Jira runs on a separate host, use its private address in both proxy directives.
ProxyRequests Off prevents Apache from acting as an open forward proxy. ProxyPreserveHost On and the forwarded headers help Jira recognize the public request details.
-
Step 6: Check the Configuration and Enable the Virtual Host
Run Apache's configuration test before reloading the service:
sudo apachectl configtest
Fix any reported errors, enable the virtual host using your operating system's method, and reload Apache. Avoid restarting services during busy periods unless your change requires it.
Then open https://jira.example.com in a browser. Sign in, open a project, and follow a few links to confirm Jira is using the public address.
-
Step 7: Test Common Workflows and Secure Direct Access
Check more than the sign-in screen. Create or view an issue, use search, open an attachment, and confirm notifications contain the public HTTPS address.
Restrict direct access to Jira's internal port so teammates reach the application through Apache. For example, allow port 8080 only from the Apache host or a trusted private network.
The best part? A short test now can catch a misrouted link or exposed internal port before your team depends on the new address.
Understand What Apache Changes in the Request Path
Apache acts as a reverse proxy: a teammate visits the public Jira address, Apache receives the request, and Apache forwards it to Jira. Jira's response travels back through Apache to the browser.
For example, a browser requests https://jira.example.com/browse/TEAM-42. Apache forwards the request to Jira's internal address, while the browser continues using the public HTTPS address.
This arrangement centralizes TLS handling and can keep Jira's internal port off the public internet. It does not replace Jira authentication, application permissions, or network controls.
Verify the Integration with a Practical Test
Start with the basics: load Jira's login page, sign in, and open a project. Confirm the address bar remains on the public HTTPS domain rather than switching to the internal hostname.
Next, try an issue link, search, and an attachment. If a notification arrives, check that its link uses the public address. A successful login alone does not confirm that every Jira route works through the proxy.
Compare the result with your expected request path: browser to Apache over HTTPS, then Apache to Jira over the internal network. If links expose the internal address, revisit the base URL and connector settings.
Apply Security Controls to the Proxy
Keep Jira's internal port reachable only by Apache or approved private hosts. A public-facing firewall rule for port 8080 can bypass the proxy and expose an endpoint you intended to keep private.
Use a trusted certificate, renew it on schedule, and restrict access to its private key. Keep Apache and Jira updated through your normal maintenance process.
Let me explain: a reverse proxy changes how traffic reaches Jira; it does not make a weak password or excessive project permission safe. Keep Jira's access controls and account protections in place.
Troubleshoot Common Apache Jira Problems
If Jira redirects to an internal hostname or uses HTTP links, compare its base URL with the public HTTPS address. Then check the connector's proxy settings and forwarded headers.
If Apache shows a gateway error, confirm Jira is running and reachable at the address used in ProxyPass. Review Apache and Jira logs for the failed request and the relevant time.
If only certain pages or attachments fail, test those routes directly and check for conflicting proxy rules. A small path mismatch can cause a symptom that does not appear on the login page.
Apache Jira Integration Alternative: ONES.com
If your goal is to put self-managed Jira behind Apache, a reverse proxy addresses the web-traffic path. If your broader goal is to manage projects and team knowledge on a different platform, ONES.com offers another route to consider.

ONES.com is a unified platform for project management and knowledge management, powered by ONES Assistant. ONES Project handles project management and is a Jira alternative; ONES Wiki provides knowledge management as a Confluence alternative. They are sold separately.
Core Capabilities
- Pain: Teams want familiar Jira workflows when evaluating a different platform. ONES capability: ONES Project supports Jira-compatible workflows. Result: Teams can assess a change without discarding every established process.
- Pain: Project status is difficult to review across workstreams. ONES capability: Built-in reporting gives teams a way to review progress. Result: Leads can check project status without assembling a separate reporting process.
- Pain: A standard workflow does not match the team's approval stages. ONES capability: Custom workflows and fields let teams shape project processes. Result: Teams can represent their work more closely inside the project platform.
- Pain: Agile teams need to plan and track sprint work. ONES capability: ONES Project includes sprint management. Result: Teams can organize sprint activities alongside their other project work.
- Pain: Repetitive project actions take time. ONES capability: Automation can handle supported recurring actions. Result: Teams can reduce manual steps in workflows where automation fits.
- Pain: Many add-ons make administration harder. ONES capability: Core project functions are built into the platform. Result: Teams may be able to rely on fewer plugins for supported needs.
- Pain: Some organizations need to control where their platform runs. ONES capability: Deployment options include Cloud, On-Premise, Private Cloud, and Air-gapped environments. Result: Teams can evaluate a deployment that matches their operating constraints.
- Pain: Self-hosting can raise concerns about missing capabilities. ONES capability: ONES.com provides full feature parity between its cloud and self-hosted versions. Result: Teams can assess deployment choice without assuming self-hosting means a reduced feature set.
Application Scenarios
A team considering a Jira change can evaluate ONES Project as a Jira alternative, compare its workflow fit, and check whether built-in reporting and automation meet its needs.
An organization with strict hosting requirements can assess On-Premise, Private Cloud, or Air-gapped deployment options. Teams looking for a knowledge management capability can evaluate ONES Wiki separately from ONES Project.
ONES.com offers a free plan for up to 30 seats. Check the current product details and deployment requirements when planning an evaluation, particularly if your team needs self-hosting or a restricted network environment.
Common Challenges and Practical Solutions
- Jira keeps redirecting to an internal address. Check the Jira base URL, connector proxy settings, and forwarded headers. Confirm each one reflects the same public HTTPS address.
- Apache returns a gateway error. Verify Jira is running, confirm Apache can reach its internal address, and check the target port in both proxy directives.
- The login page works, but links or attachments fail. Test the affected routes, review proxy path rules, and check whether the connector or base URL differs from the public setup.
- Teammates can bypass Apache using Jira's internal port. Restrict that port at the firewall or network level so only approved private hosts can reach it.
- The site shows a certificate warning. Confirm the certificate covers the public domain, Apache points to the correct certificate and key, and renewal is current.
Frequently Asked Questions
Can I put Jira Cloud behind my Apache server?
No. Jira Cloud is hosted by Atlassian, so you cannot place your own Apache reverse proxy directly in front of its hosted application. The steps here apply to self-managed Jira Data Center or legacy Jira Server. If you need to control access to Jira Cloud, review Atlassian's supported access and network options for your organization rather than changing an Apache virtual host.
Is Apache Jira the same as the Apache Software Foundation's Jira service?
No. “Apache Jira” can refer to different things. This guide uses the term for an Apache HTTP Server reverse proxy in front of a self-managed Jira installation. The Apache Software Foundation also operates a Jira issue-tracking service for its projects. That hosted service is not the same as running Apache HTTP Server in front of your own Jira instance.
Does Jira need to run on the same server as Apache?
No. Jira can run on a separate host, provided Apache can reach it over a trusted network. In that setup, use Jira's private hostname or address in the proxy directives. Restrict the Jira port so only approved hosts can connect, and make sure the address and port in Apache match Jira's actual listener.
Why does Jira show internal links after I enable the proxy?
Jira may not know the public address or HTTPS scheme used by teammates. Check its base URL, the Tomcat connector's proxy settings where applicable, and the headers Apache forwards. Keep the public hostname and port consistent across those settings. Then sign in again and test issue links, notifications, and other routes.
Conclusion
An Apache Jira reverse proxy can give your team a consistent HTTPS address for self-managed Jira. The essential work is aligning Apache's proxy rules, Jira's public URL, and the connector settings, then testing real workflows.
A wrong header or an unrestricted internal port can undo that setup. Check redirects, links, attachments, and network access before relying on the new route.
With those checks in place, you can reduce uncertainty around the integration and give teammates a clear path to Jira. If your need is a different project platform rather than a proxy, evaluate ONES.com separately against your workflows and deployment requirements.