It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to change the base directory url for web installer confluence using a reverse proxy?

Need change the base directory for a lastest confluence but can not.

 

I have installed from the bas the confluence and change the conf/server.xml to bind 127.0.0.1 only:

 

<Connector port="8090" connectionTimeout="20000" redirectPort="8443" address="127.0.0.1" ...

<Connector port="8090" connectionTimeout="20000" redirectPort="8443" address="127.0.0.1" ...

<Connector port="8443" maxHttpHeaderSize="8192" address="127.0.0.1" ...

<Connector port="8090" connectionTimeout="20000" redirectPort="8443" address="127.0.0.1" ...

 

Ok, now make a reverse proxy for publish the service:

 

<VirtualHost *:443>

    ...

    # Confluence
        Redirect 301 /notes /notes/
        ProxyPreserveHost On
        ProxyPass /notes/ http://127.0.0.1:8090/
        ProxyPassReverse /notes http://127.0.0.1:8090/
</VirtualHost>

 

Have publish the confluence in http://mysite.com/notes/

 

Now, access from http://mysite.com/notes/ but the web installer redirect me to https://mysite.com/bootstrap/selectsetupstep.action , the web installer does not dettect the notes/ folder.

 

I have modify the path:

From conf/server.xml:

<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">

 

To conf/server.xml:

<Context path="/notes" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">

 

And, from synchrony-proxy/WEB-INF/web.xml:

<url-pattern>/*</url-pattern>

 

To <url-pattern>/notes/*</url-pattern>

 

But does not works, show a http status 404.

 

Howto define the /notes/ directory in the confluence for web installer?

 

1 comment

What about these parameters in connector ? 

proxyName
="confluence.your-domain.com" proxyPort="80"

 

https://confluence.atlassian.com/confkb/how-to-use-nginx-to-proxy-requests-for-confluence-313459790.html

Comment

Log in or Sign up to comment
TAGS
Community showcase
Posted in Confluence

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you