ServerName dottes.cryhavoc.org.uk ErrorLog /var/log/apache2/dottes-error.log CustomLog /var/log/apache2/dottes-access.log combined RemoteIPProxyProtocol On DocumentRoot /srv/jenkins/jobs/Dottes/builds/lastSuccessfulBuild/archive/web Options Indexes FollowSymLinks Options +Includes # We only want SSI on index.html, but I can't see how to just # do that. Since we don't have that many .html, just enable it # for them all. I did use the XBitHack, but X bits aren't # preserved when the files are archived. AddOutputFilter INCLUDES .html AllowOverride None Order allow,deny allow from all Require all granted SSLEngine on SSLCertificateFile /var/lib/dehydrated/certs/dottes.cryhavoc.org.uk/fullchain.pem SSLCertificateKeyFile /var/lib/dehydrated/certs/dottes.cryhavoc.org.uk/privkey.pem ServerName dottes.cryhavoc.org.uk ErrorLog /var/log/apache2/dottes-error.log CustomLog /var/log/apache2/dottes-access.log combined RemoteIPProxyProtocol On # # This redirects all accesses to the HTTPS version of the site. # RewriteEngine On RewriteRule ^/?(.*) https://dottes.cryhavoc.org.uk/$1 [R=301,L]