Apache as a two JIRAs frontend


I'm struggling with apache confiuration to reverse proxy 2 JIRA instances running on the same machine but different ports. I came up with this apache conf:

NameVirtualHost jira.mycompany.pl:80
<VirtualHost jira.mycompany.pl:80>
ServerAdmin blah@whatever
ServerName jira.mycompany.pl
ErrorLog logs/jira80.error.log
Redirect / http://jira.mycompany.pl:8666

NameVirtualHost jira.mycompany.pl:8666
<VirtualHost jira.mycompany.pl:8666>
ServerName jira.mycompany.pl
AllowEncodedSlashes On

<Proxy *>
        Order deny,allow
                Allow from all
                SSLEngine on
                SSLProxyEngine On
                SSLCertificateFile 2jiramycompanypl.cer
                SSLCertificateKeyFile jirakey.key
                ProxyRequests Off
                ProxyPreserveHost On
                ProxyPass / https://jira.mycompany.pl:8443/
                ProxyPassReverse / https://jira.mycompany.pl:8443/
proxy-host="jira.mycompany.pl" proxy-port="8666" proxy-scheme="https"

It seems like the first virtual host works but I cannot make apache do the second one. Please help smile

1 answer

1 accepted

Hi When I configured apache to terminate SSL and chat with tomcat by http it works like a charm. But I cannot make apache forward https traffic to tomcat. User<https>apache<https>tomcat not working but User<https>apache<http>tomcat goes like hell. That's where I'm stuck.

I hope tthis will solve the configuration issue you have. Do not forget to make the change on database side as well.

I'm getting "website not available" when trying to access your link :(

OK i found it. When configure http_proxy to run on a certain port, tell apache to listen on it... Otherwise you'll be struggling with not very talkative apache (no errors in logs) while you're saying lots of bad words :).

Ya sure- its extranet- my bad. you may refer the first link and if you scroll down at the end you will be able to see the settings.

Suggest an answer

Log in or Join to answer
Community showcase
Pedro Felgueiras
Asked 31m ago in Jira

Clone a Zephyr issue

When I try to clone a Zephyr issue only a popup showing the issue id and nothing more shows.  On the browser console I see:  RTE not registered Error: No jira/editor/registry at c...

9 views 0 0
View question

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot