mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-05-14 05:29:14 -04:00
Auto https fixup
This commit is contained in:
parent
fcd1b87d7f
commit
6261dcfc9e
10
.htaccess
10
.htaccess
@ -8,10 +8,10 @@ ErrorDocument 404 /404.php
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} !=on
|
||||
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
|
||||
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
|
||||
#DELETE THIS IF YOU DON'T HAVE HTTPS!
|
||||
RewriteEngine On
|
||||
RewriteCond %{HTTPS} off
|
||||
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
|
||||
</IfModule>
|
||||
|
||||
|
||||
@ -113,4 +113,4 @@ FileETag None
|
||||
ExpiresByType font/woff "access plus 1 month"
|
||||
ExpiresByType application/font-woff2 "access plus 1 month"
|
||||
ExpiresByType text/x-cross-domain-policy "access plus 1 week"
|
||||
</IfModule>
|
||||
</IfModule>
|
||||
|
Loading…
Reference in New Issue
Block a user