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

Reverse Proxy Issue - Synchrony doesn't work

    XMLWordPrintable

Details

    Description

      We installed Confluence behind an Apache configured as Reverse Proxy.

      <VirtualHost *:443>
        ServerAdmin webmaster@testconfluence.bitvoodoo.ch
        ServerName testconfluence.bitvoodoo.ch
        ServerAlias www.testconfluence.bitvoodoo.ch
        ServerAlias testconfluence.bitvoodoo.ch.bitvoodoo14.nine.ch
      
        # Do not index Testdomain
        SetEnvIf Host "testconfluence.bitvoodoo.ch.bitvoodoo14.nine.ch" TEST_URL
        Header set X-Robots-Tag "noindex, nofollow" env=TEST_URL
      
        DocumentRoot /home/www-data/testconfluence.bitvoodoo.ch
      
        ErrorLog /home/www-data/logs/testconfluence.bitvoodoo.ch.error.log
        CustomLog /home/www-data/logs/testconfluence.bitvoodoo.ch.access.log combined
      
        UseCanonicalName off
      
        # SSL
        SSLEngine on
        SSLCertificateFile /etc/ssl/letsencrypt/certs/testconfluence.bitvoodoo.ch/cert.pem
        SSLCertificateChainFile /etc/ssl/letsencrypt/certs/testconfluence.bitvoodoo.ch/chain.pem
        SSLCertificateKeyFile /etc/ssl/letsencrypt/private/testconfluence.bitvoodoo.ch/priv.pem
      
        Alias /nine-ssl-check "/var/www"
      
        # Directives
        # Jira Proxy
        ProxyRequests Off
        ProxyPreserveHost On
        
        <Proxy *>
          Order deny,allow
          Allow from all
        </Proxy>
        
        ProxyPass /nine-ssl-check/ !
        ProxyPass /.well-known/ !
        ProxyPass / http://localhost:8090/
        ProxyPassReverse / http://localhost:8090/
        # AWStats
        Alias /awstats-icon "/usr/share/awstats/icon/"
        Alias /stats "/usr/lib/cgi-bin/awstats.pl"
        <Location /stats>
          Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
          AddHandler cgi-script .pl
          Order allow,deny
          Allow from all
      
          SetEnv AWSTATS_FORCE_CONFIG testconfluence.bitvoodoo.ch
      
          AuthName "Stats"
          AuthType Basic
          AuthUserFile /home/www-data/.htpasswd
          require user nine stats stats_www-data stats_testconfluence.bitvoodoo.ch
        </Location>
      </VirtualHost>
      

      If I request the editor, some synchrony resource can't be loaded and the editor can't be loaded.

      I thought with the new milestone Reverse Proxy is supported?

      Attachments

        1. Confluence_support_2016-09-15-11-51-36.zip
          108 kB
        2. screenshot-1.png
          screenshot-1.png
          48 kB
        3. screenshot-2.png
          screenshot-2.png
          155 kB
        4. screenshot-3.png
          screenshot-3.png
          188 kB
        5. screenshot-4.png
          screenshot-4.png
          33 kB
        6. synchrony error.png
          synchrony error.png
          292 kB
        7. testconfluence.bitvoodoo.ch.har
          5.65 MB

        Issue Links

          Activity

            People

              bmcnamara Brendan McNamara
              3767853a13e5 bitvoodoo ag
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: