Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-43770

Reverse Proxy Issue - Running without BaseURL

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • None
    • 6.0.0-m77
    • Server - EAP

    Description

      Hi Team

      As I already mentioned in CONF-43758, I have trouble configuring Confluence 6 behind a Reverse Proxy without the context path.

      You removed the part in the documentation https://confluence.atlassian.com/confeap/using-apache-with-mod_proxy-480346967.html#UsingApachewithmod_proxy-complex , how this should be configured. So is this an issue at the moment and still open?

      I tried the old way described in the old documentation, but I retrieve every time a redirect from the tomcat to the context path

      Version 1 - is not working
      Described here https://confluence.atlassian.com/doc/using-apache-with-mod_proxy-173669.html#UsingApachewithmod_proxy-complex
      Vhost

      ProxyPass / http://localhost:8090/confluence
        ProxyPassReverse / http://localhost:8090/confluence
        ProxyHTMLURLMap / /confluence/
        <Location /confluence>
          Require all granted
        </Location>
        
        ProxyPass /synchrony http://localhost:8091/synchrony
        <Location /synchrony>
            Require all granted
            RewriteEngine on
            RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
            RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
            RewriteRule .* ws://localhost:8091%{REQUEST_URI} [P]
        </Location>
      
      
      

      Server.xml

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

      Our own old way - not working too
      If I use this version, I can browse Confluence with https://testconfluence.bitvoodoo.ch/confluence/ - I don't know where this context path is coming from ....

      Vhost

      ProxyPass / http://localhost:8090/
        ProxyPassReverse / http://localhost:8090/
        <Location /confluence>
          Require all granted
        </Location>
        
        ProxyPass /synchrony http://localhost:8091/synchrony
        <Location /synchrony>
            Require all granted
            RewriteEngine on
            RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
            RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
            RewriteRule .* ws://localhost:8091%{REQUEST_URI} [P]
        </Location>
      
      

      Server.xml

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

      Did I missed something?
      Is the order in the VHost important?
      Why did you removed the documentation how this should be configured?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              95cffe71a7e5 Oliver Straesser
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: