ServerName localhost ServerAlias maui.local DocumentRoot /var/www/html/ RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [END,NE,R=permanent] ServerName localhost ServerAlias maui.local DocumentRoot /var/www/html/ SSLCertificateFile /etc/letsencrypt/live/mushu.nest.lutran.ch/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/mushu.nest.lutran.ch/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf DirectoryIndex index.php # Serve https://localhost/livetrail/ from the public web root. Alias /livetrail /var/www/html/livetrail/public Options FollowSymLinks AllowOverride None Require all granted AddType application/geo+json .geojson Header set Cache-Control "public, max-age=31536000, immutable" AddOutputFilterByType BROTLI_COMPRESS \ text/html \ text/plain \ text/css \ text/javascript \ text/xml \ application/javascript \ application/json \ application/geo+json \ application/manifest+json \ application/xml \ image/svg+xml AddOutputFilterByType DEFLATE \ text/html \ text/plain \ text/css \ text/javascript \ text/xml \ application/javascript \ application/json \ application/geo+json \ application/manifest+json \ application/xml \ image/svg+xml