Base URL and Apache SSL proxy not working

Hi.

I currently have JIRA, Bamboo, and Bamboo on the same server. I want to provide SSL access while avoiding making changes to bundled Tomcat configuration files that ship in the install, thus I'm trying to configure Apache as a reverse proxy. I have it working for Confluence, but JIra keeps giving me

"JIRA's base URL is set to https://jira03.example.com but you are accessing JIRA from https://jira03.example.com. Update JIRA's base URL or hide this message."

and

"We've detected a potential problem with JIRA's Dashboard configuration. "

Confluence seems to be happy with the same configuration.

 

My apache configuration is :

 

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so

<IfModule mod_proxy.c>

<Proxy *>

    Order deny,allow

    Allow from all

</Proxy>

NameVirtualHost *:443

<VirtualHost *:443>
    ServerName confluence03.example.com

    ErrorLog /var/log/httpd/jira-error-ssl.log
    CustomLog /var/log/httpd/jira-access-ssl.log combined

     SSLEngine on
        SSLCertificateFile /etc/httpd/ssl/confluence/apache.crt
        SSLCertificateKeyFile /etc/httpd/ssl/confluence/apache.key
        SSLCertificateChainFile /etc/httpd/ssl/confluence/apache.crt
 
    ProxyPass / http://localhost:8090/
    ProxyPassReverse / http://localhost:8090/
</VirtualHost>

<VirtualHost *:443>
    ServerName jira03.example.com
    ServerAlias jira03

ErrorLog /var/log/httpd/jira-error-ssl.log
CustomLog /var/log/httpd/jira-access-ssl.log combined

     SSLEngine on
        SSLCertificateFile /etc/httpd/ssl/jira/apache.crt
        SSLCertificateKeyFile /etc/httpd/ssl/jira/apache.key
        SSLCertificateChainFile /etc/httpd/ssl/jira/apache.crt

ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/

</VirtualHost>

JIRA is accessed via https://jira03.example.com and Confluence https://confluence03.example.com

Apache is running on the same host as JIRA and confluence.

Please advise where I have may have missed something.

Thank you

G

 

 

1 answer

I also am having this same problem, however without SSL (so just passing everything from port 80 to my 8080 JIRA and 8090 Confluence installs). As mentioned above, Confluence has no issue with this setup and it working fine. Both applications have the base url set to jira.example.com and confluence.example.com respectively. Any advice would be tremendously appreciated.

 

Thanks,

Charles

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,293 views 14 20
Join discussion

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