Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,441
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events