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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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
Highlighted

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

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

453 views 24 9
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