Updated Simple guide to add TLS cert to cpanel (markdown)
parent
3362ebb744
commit
4b6b6ac898
|
@ -91,7 +91,7 @@ or, for a possibly faster approach try using
|
||||||
|
|
||||||
`RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]`
|
`RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.*)\ HTTP/ [NC]`
|
||||||
|
|
||||||
`RewriteRule ^(([^/]+/)*)$ https://%{HTTP_HOST}/ [R=301,L]`
|
`RewriteRule ^(([^/]+/)*)$ https://%{HTTP_HOST}/$1 [R=301,L]`
|
||||||
|
|
||||||
`</IfModule>`
|
`</IfModule>`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue