Ajout de la partie HTTPS

This commit is contained in:
2021-12-14 21:14:53 +01:00
parent 5ed2dc951e
commit 8f066d5b5d
38 changed files with 1394 additions and 187 deletions

View File

@ -0,0 +1,11 @@
# 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