# all faivre.ml subdomains ServerName $domain ServerAlias www.$domain UseCanonicalName Off #DocumentRoot /home/www/ml.faivre/$name CustomLog ${APACHE_LOG_DIR}/ml.faivre.$name-access.log combined ErrorLog ${APACHE_LOG_DIR}/ml.faivre.$name-error.log # br, feb 13, 2016. The following hack is necessary to have # letsencrypt work in "--webroot" mode, as it does not handle # https redirection RewriteEngine On RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L] ServerName $domain ServerAlias www.$domain UseCanonicalName Off DocumentRoot /home/www/ml.faivre/$name CustomLog ${APACHE_LOG_DIR}/ml.faivre.$name-access.log combined ErrorLog ${APACHE_LOG_DIR}/ml.faivre.$name-error.log SSLEngine on SSLCertificateFile /etc/letsencrypt/live/faivre.ml/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/faivre.ml/privkey.pem SSLRequireSSL On SSLVerifyClient none SSLVerifyDepth 1 SSLOptions +StdEnvVars +StrictRequire RewriteEngine on Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted # Kesako ? SSLRenegBufferSize 10486000 # Kesako ? Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" # Kesako ? Puisque mod_security2 n'est pas utilisé, je commente. # # SecRequestBodyNoFilesLimit 5242880 # # macros: Each line is # Use faivre # with dir: /home/www/ml.faivre/ Use faivre root faivre.ml Use faivre crozat crozat.faivre.ml Use faivre daniel-bremond daniel-bremond.faivre.ml Use faivre dev dev.faivre.ml Use faivre ebooks ebooks.faivre.ml Use faivre famille famille.faivre.ml Use faivre nextcloud nextcloud.faivre.ml Use faivre pelemele pelemele.faivre.ml Use faivre photos photos.faivre.ml Use faivre steinbach steinbach.faivre.ml Use faivre test test.faivre.ml Use faivre webtrees webtrees.faivre.ml UndefMacro faivre