mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
comment out apache redirect rules which are handled by Cloudflare
This commit is contained in:
parent
c3d0732f97
commit
b2d268f2ae
@ -994,12 +994,12 @@ FileETag None
|
|||||||
RewriteBase /
|
RewriteBase /
|
||||||
|
|
||||||
# throw everything onto https
|
# throw everything onto https
|
||||||
RewriteCond %{SERVER_PORT} 80
|
# RewriteCond %{SERVER_PORT} 80
|
||||||
RewriteRule ^(.*)$ https://www.kremalicious.com/$1 [R,L]
|
# RewriteRule ^(.*)$ https://www.kremalicious.com/$1 [R,L]
|
||||||
|
|
||||||
# and remove wwww
|
# and remove wwww
|
||||||
RewriteCond %{HTTP_HOST} ^www\.kremalicious\.com [NC]
|
# RewriteCond %{HTTP_HOST} ^www\.kremalicious\.com [NC]
|
||||||
RewriteRule ^(.*)$ https://kremalicious.com/$1 [L,R=301]
|
# RewriteRule ^(.*)$ https://kremalicious.com/$1 [L,R=301]
|
||||||
|
|
||||||
# redirect all index.html to parent folder
|
# redirect all index.html to parent folder
|
||||||
RewriteCond %{REQUEST_URI} ^(.*/)index\.html$ [NC]
|
RewriteCond %{REQUEST_URI} ^(.*/)index\.html$ [NC]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user