Skip to content

Commit

Permalink
Fix unnecessary redirects for https
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDaniel committed Dec 18, 2023
1 parent 11bd3eb commit 5cb3cf6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions htdocs/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ Options -Indexes

RewriteEngine On

RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://progarm.org/$1 [R,L]

RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Expand Down

0 comments on commit 5cb3cf6

Please sign in to comment.