ServerName lists.cryhavoc.org.uk ErrorLog /var/log/apache2/lists-error.log CustomLog /var/log/apache2/lists-access.log combined RemoteIPProxyProtocol On Alias /mailman3/favicon.ico /var/lib/mailman3/web/static/postorius/img/favicon.ico Alias /mailman3/static /var/lib/mailman3/web/static Require all granted ProxyPass /mailman3/favicon.ico ! ProxyPass /mailman3/static ! ProxyPass / unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/ SSLEngine on SSLCertificateFile /var/local/certificates/lists.lunch.org.uk/fullchain.pem SSLCertificateKeyFile /var/local/certificates/lists.lunch.org.uk/privkey.pem ServerName lists.lunch.org.uk ErrorLog /var/log/apache2/lists-error.log CustomLog /var/log/apache2/lists-access.log combined RemoteIPProxyProtocol On # # This redirects all accesses to the HTTPS version of the site. # RewriteEngine On RewriteRule ^/?(.*) https://lists.cryhavoc.org.uk/$1 [R=301,L] SSLEngine on SSLCertificateFile /var/local/certificates/lists.lunch.org.uk/fullchain.pem SSLCertificateKeyFile /var/local/certificates/lists.lunch.org.uk/privkey.pem ServerName lists.cryhavoc.org.uk ServerAlias lists.lunch.org.uk ErrorLog /var/log/apache2/lists-error.log CustomLog /var/log/apache2/lists-access.log combined RemoteIPProxyProtocol On Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Require all granted # # This redirects all accesses to the HTTPS version of the site. # RewriteEngine On RewriteRule ^/?(.*) https://lists.cryhavoc.org.uk/$1 [R=301,L]