add .htaccess for TLS redirect
This commit is contained in:
parent
87403ddc8e
commit
1b75da1c08
1 changed files with 6 additions and 0 deletions
6
app/.htaccess
Normal file
6
app/.htaccess
Normal file
|
@ -0,0 +1,6 @@
|
|||
RewriteEngine On
|
||||
|
||||
# enforce HTTPs
|
||||
RewriteCond %{SERVER_PORT} 80
|
||||
RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R,L]
|
||||
|
Loading…
Add table
Reference in a new issue