Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why does the Confluence UI not display images and the skin correctly when using Apache/SSL

Christoph
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2020

 

ConfluenceFails.png

I have installed Confluence on a Ubuntu box. The default config (using Tomcat directly on 8090) works fine. But the config with Apache and SSL fails because only links and basic HTML elements are visible. The skin (colors, frames, menu, layout, etc) is missing.

Here is the config:

<VirtualHost *:80>

 

ServerAdmin webmaster@acme.de

ServerName acme.de

 

Redirect / https://acme.de/

 

RewriteEngine on

RewriteCond %{SERVER_NAME} =acme.de [OR]

RewriteCond %{SERVER_NAME} =hostname

RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

</VirtualHost>

 

<IfModule mod_ssl.c>

<VirtualHost *:443>

        SetEnv RAILS_ENV production

 

        ServerAdmin webmaster@acme.de

        ServerName acme.de

        # DocumentRoot /var/www/html/

 

        ProxyPreserveHost On

        ProxyPass "/confluence" "http://localhost:8090/confluence/"

        ProxyPassReverse "/confluence" "http://localhost:8090/confluence/"

        ProxyRequests Off

 

        <Proxy *>

                Order Deny,Allow

                Allow from all

        </Proxy>

        <Location /confluence/>

                Order allow,deny

                Allow from all

        </Location>

 

        ServerAlias acme-online.de

        SSLCertificateFile /etc/letsencrypt/live/acme.de/fullchain.pem

        SSLCertificateKeyFile /etc/letsencrypt/live/acme.de/privkey.pem

        Include /etc/letsencrypt/options-ssl-apache.conf

</VirtualHost>

</IfModule>

 

        <Connector port="8090" connectionTimeout="20000" redirectPort="8443"

                   maxThreads="48" minSpareThreads="10"

                   enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"

                   protocol="HTTP/1.1" scheme="https" proxyName="acme.de" proxyPort="443" secure="true"/>

 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 20, 2020

The two proxy pass lines should not have quotes and the proxies should be consistent - all terms should end with or without a /, don't use a mix of them.  Please fix those and retry it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events