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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
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