We have Confluence installed behind an Apache proxy and there is a redirect from http to https, so we always use an https connection.
The problem we have is that when we go to Manage add-ons there is a banner which says: "The base URL configuration of your instance does not match the URL in your browser. This can prevent operations on this page from working correctly. See UPM documentation for more details about this error."
The base url is set to https://domainname of the site and in the server.xml I have added:
proxyName="domainname" proxyPort="443" scheme="https" secure="true"
I would think that this is exactly how it should be. So what is wrong?
Strangely enough, when I enter http://domainname as the base url, so not https, the message disappears. But that seems wrong.
Should I just use http instead of https and not worry about it? Or will this bit me in the behind in the near future?
Hi Roelof, this excerpt called my attention:
Strangely enough, when I enter http://domainname as the base url, so not https, the message disappears.
So that means you can access Confluence either via http and https, is that right? That's strange, since you mentioned that you have a redirect from http to https.
Also, when using the following parameters in your
server.xml you would have being redirected to the https URL: proxyName="domainname" proxyPort="443" scheme="https" secure="true"
Have you restarted the application after adding those parameters?
When you access the server via http then Apache redirects it directly to https. Only then does it proxy to Confluence. So you can only access Confluence via https. That exactly is why it seems so strange to me that http as the base url would work but not https.
Somewhere there must be a error in a syntax, but I have no idea where.
And yes, every time I change the server.xml or any of the Confluence files I restart the application server.
Hi my Community friends! For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...
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!
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