It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
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?
Sorry. There are two configs. One is just a rewrite from port 80 to 443. The other is a SSL proxy with config: ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:8090/ ProxyPassReverse / http://localhost:8090/ Is that enough?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.