MDContactEmail webmaster@{SITE_NAME} MDCertificateAgreement accepted{for subdomain in subdomains} MDMember {subdomain}.{SITE_NAME} {end} ServerName {SITE_NAME}{for subdomain in subdomains} ServerAlias {subdomain}.{SITE_NAME}{end} Redirect / https://{SITE_NAME} ServerName {SITE_NAME}{for subdomain in subdomains} ServerAlias {subdomain}.{SITE_NAME}{end} ServerAdmin webmaster@{SITE_NAME} SSLEngine on ErrorLog /srv/{SITE_NAME}/logs/error.log CustomLog /srv/{SITE_NAME}/logs/access.log combined SetHandler server-status DocumentRoot /srv/{SITE_NAME}/public_html/ Options Indexes FollowSymLinks MultiViews AllowOverride None RewriteEngine On RewriteRule ^wordpress/ - [L] RewriteCond %\{REQUEST_FILENAME\} !-f RewriteCond %\{REQUEST_FILENAME\} !-d RewriteRule . /wordpress/index.php [L] RewriteRule ^$ /wordpress/index.php [L] Require all granted ScriptAlias /git "/usr/lib/cgit/cgit.cgi/" Alias /cgit-css "/usr/share/cgit/"