Docs/docs/site-internet/https.md
2021-12-14 21:14:53 +01:00

289 B

HTTPS

Virtual Host port 80 - ajouter redirection :

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^ https://www.%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]

Virtual Host port 443 (créé par Let's Encrypt) : ne pas ajouter de redirection