ServerName gpodder.lunch.org.uk
ErrorLog /var/log/apache2/gpodder-error.log
CustomLog /var/log/apache2/gpodder-access.log combined
RemoteIPProxyProtocol On
DocumentRoot /srv/gpodder
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.php
SSLEngine on
SSLCertificateFile /var/local/certificates/gpodder.lunch.org.uk/fullchain.pem
SSLCertificateKeyFile /var/local/certificates/gpodder.lunch.org.uk/privkey.pem
ServerName gpodder.lunch.org.uk
ErrorLog /var/log/apache2/gpodder-error.log
CustomLog /var/log/apache2/gpodder-access.log combined
RemoteIPProxyProtocol On
#
# This redirects all accesses to the HTTPS version of the site.
#
RewriteEngine On
RewriteRule ^/?(.*) https://gpodder.lunch.org.uk/$1 [R=301,L]