Base url problem with mod_proxy

I use virtual hosts for serving my Confluence.
First, httpd.conf is below:
<VirtualHost *:80>

   ProxyRequests Off
   <Proxy *>
      Order deny,allow
      Allow from all

   ProxyPass / http://localhost:8090/
   ProxyPassReverse / http://localhost:8090/
   <Location />
      Order allow,deny
      Allow from all

And server.xml is below:

<Connector port="8090" redirectPort="8443" ... />
   <Engine name="Standalone" defaultHost="localhost" debug="0">
      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
         <Context path="" docBase="../confluence" debug="0" reloadable="true" useHttpOnly="true">

Finally, confluence's base url is

and my web browser's url is also that is.

In this situation, there is no warning message on 'Server Base Url' in General Configuration, but when I go to 'Plugins' section, then the server which running confluence loose connection for a while. But weired thing is when I approach using ip(http://ip:8090) and changed base url with that then there is no problem. works great.

What's wrong with me?

1 answer

Hi Jason,

You might need to configure the redirection properly with proxyName and proxyPort parameter implemented as mentioned here:

Hope it helps.

Septa Cahyadiputra

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

800 views 23 12
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