Ajout de la partie HTTPS
This commit is contained in:
11
docs/site-internet/https.md
Normal file
11
docs/site-internet/https.md
Normal 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
|
Reference in New Issue
Block a user