mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-12-11 04:13:33 +01:00
8 lines
256 B
ApacheConf
8 lines
256 B
ApacheConf
|
Options +FollowSymLinks
|
||
|
RewriteEngine On
|
||
|
|
||
|
RewriteCond %{HTTP:X-Forwarded-Proto} =http
|
||
|
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||
|
|
||
|
RewriteCond %{HTTP_HOST} !^www\.privacytools\.io$
|
||
|
RewriteRule ^(.*)$ https://www.privacytools.io/$1 [L,R=301]
|