ServerAdmin webmaster@federez.net ServerName hexagon.federez.net RewriteEngine On RewriteCond %{HTTPS} !=on # Pas de redirection pour les requêtes de Let's Encrypt RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/.*$ # Redirection vers un domaine de federez.net RewriteCond %{HTTP_HOST} ^([^.]+\.)?federez\.(fr|eu|org|net) RewriteRule ^.*$ https://%1federez.net%{REQUEST_URI} [R,L,R=permanent] ProxyPass /.well-known/acme-challenge ! Alias /.well-known/acme-challenge /var/www/letsencrypt/.well-known/acme-challenge AllowOverride None Require all granted # Utilité à confirmer : # Options FollowSymLinks # AddDefaultCharset off ErrorLog /var/log/apache2/no-tls.error.log CustomLog /var/log/apache2/no-tls.access.log combined LogLevel Warn