Skip to content

Commit

Permalink
force ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
cyd01 committed Feb 6, 2019
1 parent 3bc9225 commit 65adb9d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]

RewriteCond %{SERVER_PORT} 80
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Options -Indexes

<Files .htaccess>
Expand Down

0 comments on commit 65adb9d

Please sign in to comment.