ServerName analytics.scummvm.org
Redirect permanent / https://analytics.scummvm.org/
RewriteEngine on
RewriteCond %{SERVER_NAME} =analytics.scummvm.org
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ServerName analytics.scummvm.org
ServerAdmin webmaster@scummvm.org
DocumentRoot /var/www/analytics
ErrorLog ${APACHE_LOG_DIR}/analytics_error.log
CustomLog ${APACHE_LOG_DIR}/analytics_access.log combined
SetHandler "proxy:unix:/run/php/php-fpm-analytics.sock|fcgi://localhost"
# Deny access to raw php sources by default
# To re-enable it's recommended to enable access to the files
# only in specific virtual host or directory
Require all denied
# Deny access to files without filename (e.g. '.php')
Require all denied
Include /etc/apache2/conf-fragments/require-auth.conf
Require all granted
Require all granted
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/scummvm.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/scummvm.org/privkey.pem