ajout d'un cas de Let's Encrypt pour RW rule
This commit is contained in:
parent
e27f1b5560
commit
c75972bc1d
|
@ -949,6 +949,7 @@ RewriteRule ^/(.*) http://new.example.com/$1 [L,R=permanent]
|
|||
RewriteCond %{HTTPS} !=on
|
||||
RewriteCond %{HTTP:X-Forwarded-Proto} !=https
|
||||
RewriteCond %{REQUEST_URI} !^/.well-known/pki-validation/
|
||||
RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/
|
||||
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
|
||||
|
||||
# le drapeau NC permet de ne pas tenir compte de la casse
|
||||
|
|
Loading…
Reference in a new issue