
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"/>