htaccess fixe
This commit is contained in:
parent
b9a8db8140
commit
ca5231f1fe
@ -62,9 +62,9 @@ DirectoryIndex index.php index.html index.htm
|
||||
# RewriteRule ^(.*)$ https://materio.com/$1 [L,R=301]
|
||||
|
||||
# Redirect to HTTPS
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
# RewriteCond %{HTTPS} off
|
||||
# RewriteCond %{HTTP:X-Forwarded-Proto} !https
|
||||
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
|
||||
|
||||
# Set "protossl" to "s" if we were accessed via https://. This is used later
|
||||
|
Loading…
x
Reference in New Issue
Block a user