Skip to content

Commit

Permalink
Remove unneeded condition in rewrite rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Meezaan-ud-Din Abdu Dhil-Jalali Wal-Ikram committed May 15, 2019
1 parent 922f712 commit 31935c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RewriteEngine On
<If "%{ENV:LOAD_BALANCER_MODE} == '1' && %{HTTP:X-LOAD-BALANCER} != %{ENV:LOAD_BALANCER_KEY}">
RewriteRule .* - [F]
</If>
RewriteCond %{HTTP_HOST} ^alquran.cloud$ [OR]
#RewriteCond %{HTTP_HOST} ^alquran.cloud$ [OR]
RewriteCond %{HTTP_HOST} ^www.alquran.cloud$
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://alquran.cloud/$1 [R=301,L]
Expand Down

0 comments on commit 31935c1

Please sign in to comment.